MATLAB XPC TARGET RELEASE NOTES Guía de usuario Pagina 245

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 531
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 244
Step-by-Step Example of Fortran and xPC Target™
8 Click Apply,thenOK.
9 Double-click the Sine Wave block.
10 For the Sample time parameter, enter 0.05.
11 Click OK.
12 From the File menu, click Save as. Browse to your current working folder,
for example,
xpc_fortran_test. Enter a filename. For example, ente r
fortran_atmos_xpc and then click Save.
Your next task is to compile Fortran code. S ee “Compilin g Fortran Files”
on page 13-7.
Compiling Fortran Files
1 In the MA TLAB Command Window, copy the file sfun_atmos_sub.F into
your Fortran working folder, for example,
xpc_fortran_test. Thisisthe
sample Fortran code that implements a subroutine for the Atmosphere
model.
2 From Fortran_co mpiler_dir\IA32\Lib, copy the following files to the
working folder:
libifcore.lib
libifcor emd.lib
ifconsol .lib
libifpor tmd.lib
libifpor t.lib
libmmd.l ib
libm.lib
libirc.l ib
libmmt.l ib
libifcor emt.lib
13-7
Vista de pagina 244
1 2 ... 240 241 242 243 244 245 246 247 248 249 250 ... 530 531

Comentarios a estos manuales

Sin comentarios