fetch an FMU from the GitHub TestFMUs repository
FetchFMU(model_name, tool_name, tool_version, fmi_version, fmi_type,options)
string; name of the FMU model
string; name of the exporting tool
string; version of the exporting tool
string; FMI version ("1.0" or "2.0")
string; FMI type ("CoSimulation" or "ModelExchange")
A list with the full path(s) of the successfully downloaded file(s).
outputdir = string
Specifies the path to the directory where the file will be written. If no outputdir is specified, the file will be written in the current directory. The default value is an empty string.
platform = one of "win32", "win64", "linux32", "linux64", "darwin64", "c-code" or NULL
Specifies the FMU platform to be fetched from the GitHub TestFMUs repository. If platform = NULL, the current platform is automatically detected and the corresponding FMU is fetched. The default value is NULL.
addsupportfiles = true or false
Specifies if the FMU's support files will be downloaded along with the FMU. An FMU's support files include:
the input file, e.g., "CoupledClutches_in.csv"
the reference file, e.g., "CoupledClutches_ref.csv"
the simulation settings file, e.g., "CoupledClutches_ref.opt"
The default value is false.
The FetchFMU procedure downloads an FMU from the Test FMUs GitHub repository.
Download the MapleSim 2018 FMI 2.0 CS Rectifier FMU for win64
Download the MapleSim 2016.2 FMI 2.0 ME CoupledClutches FMU for linux64. Include available support files.
The FMUTester[FetchFMU] command was introduced in Maple 2019.
For more information on Maple 2019 changes, see Updates in Maple 2019.
Download Help Document
What kind of issue would you like to report? (Optional)