User`s guide
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.