fmiModelVariables
Full information about model variables.
Calling Sequence
vars = fmiModelVariables(fmu)
Arguments
- fmu
tlist, a model that can be received by importFMU.
- vars
tlist, full information about the model variables and type definitions.
vars.Real: list, all information for real variables of the model.vars.Integer: list, all information for integer variables of the model.vars.Boolean: list, all information for boolean variables of the model.vars.String: list, all information for string variables of the model.vars.Enumeration: list, all information for enumeration variables of the model.vars.Type: list, all information for type definitions of the model.
Description
fmiModelVariables is the function that returns full information for all model variables.
It can be used for analysing of model descriptions in the case when there is not enough information about model variables.
If any element of model variables definitions is not defined in XML file than appropriate field of list is empty.
Examples
//Decompressing the model "SCADE_CruiseControl__CruiseControl_FMU". Creation a variable "fmu" of type tlist Scilab. fmu = importFMU(fullfile(SCI, "modules", "fmu", "tests", "unit_tests", "SCADE_CruiseControl__CruiseControl_FMU.fmu")); //tlist, with full information about the model variables vars = fmiModelVariables(fmu) //names of variables vars.Real.name //references of variables vars.Real.valueReference
See Also
- fmiModelDescription — Information about main attributes of fmiModelDescription.
| Report an issue | ||
| << fmiModelDescription | Functional Mock-up Interface (FMU) | fmiSetBoolean >> |