MATLAB XPC TARGET 4 - API GUIDE Podręcznik Użytkownika Strona 206

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 205
11 xPC Target and Fortran
11-12
3 In the left pane, click the Real-Time Workshop node.
The
Real-Time Workshop pane opens.
4 In the Target selection section, click the Browse button at the RTW system
target file
list.
5 Click xpctarget.tlc.
6 In the Make command field, replace make_rtw with the following string:
make_rtw S_FUNCTIONS_LIB="..\sfun_atmos_sub.obj ..\dfor.lib
..\dfconsol.lib ..\dfport.lib"
Ensure that this whole command is all on one line.
7 Press Apply.
8 Press OK.
9 From the File menu, click Save.
This command requires that the application build directory be the current
directory (one level below the working directory,
xpc_fortran_test). Because
of this, all additional dependency designations must start with
..\.
Specify all Fortran object files if your model (S-Function blocks) depends on
more than one file. For this example, you specify the run-time libraries only
once.
Your next task is to build and run the xPC Target application. See “Building
and Running the xPC Target Application” on page 11-13.
Przeglądanie stron 205
1 2 ... 201 202 203 204 205 206 207 208 209 210 211 ... 371 372

Komentarze do niniejszej Instrukcji

Brak uwag