MATLAB TARGET SUPPORT PACKAGE - RELEASE NOTES Instrukcja Użytkownika Strona 29

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 42
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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:
Przeglądanie stron 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 41 42

Komentarze do niniejszej Instrukcji

Brak uwag