MATLAB TARGET SUPPORT PACKAGE - RELEASE NOTES Manuale Utente Pagina 29

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 42
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 28
Dymola 2015 Release Notes 29
This FMU supports changing the table name and file name as string parameters.
Extended example (resource handling on Windows)
If the FMU should contain the table as a resource, the following can be done, in Windows:
Rename the parameter
fileName to includeFileInFMU (really not needed, but for clarity).
Use, in the variable definition dialog of
includeFileInFMU, in the default value input field,
the context command
Insert Function Call… to access
Modelica.Utilities.Files.loadResources, and specify the file name. The resulting
code is (given a new model MyTestModel2 is created):
Save the model. Before generating the FMU, check:
Vedere la pagina 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 41 42

Commenti su questo manuale

Nessun commento