MATLAB TARGET SUPPORT PACKAGE - RELEASE NOTES Bedienungsanleitung Seite 29

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 42
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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:
Seitenansicht 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 41 42

Kommentare zu diesen Handbüchern

Keine Kommentare