User`s guide
13 Incorporating Fortran Code into the xPC Ta rgetâ„¢ Environment
4 Run a simu lation C-MEX file w ith the S imulink sof tw are to va li date the
compiled Fortran code a nd wrapper S-function.
5 Copy relevant Fortran run-time libraries to the application build folder for
the xPC Target application build.
6 Defin e the Fortran libraries, and the Fortran object files from step 1, in the
Real-Time Workshop dialog box of the Simulink model. You must define
these libraries and f iles as additional components to be linked in when the
xPC Target application link stage takes place.
7 Initiate the xPC Target specific Real-Time Workshop build procedure for
the demo model. Real-Time Workshop builds and downloads xPC Target
onto the target PC.
13-4