Full information about model variables.
vars = fmiModelVariables(fmu)
tlist, a model that can be received by importFMU.
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.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.
//Decompressing the model "SCADE_CruiseControl__CruiseControl_FMU". Creation a variable "fmu" of type tlist Scilab. fmu = importFMU(pwd()+fullfile("\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 | ![]() | ![]() |