User manual
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: