MATLAB TARGET SUPPORT PACKAGE - RELEASE NOTES Uživatelský manuál Strana 29

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 42
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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:
Zobrazit stránku 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 41 42

Komentáře k této Příručce

Žádné komentáře