Hello,
The FMU generation of a model containing boolean or integer type outputs leads to a fmu that cannot be exploited by FMPy or by Amesim.
In the simulink example model attached, the first output is of real type, the second of boolean type, and the last two of integer type.
When FMPy reads the generated fmu, this error appears:
The only way to get around this problem is to edit the fmu xml and add the "variabilty" parameter and assign it to "discrete"
no workaround found via simulink
Hello, The FMU generation of a model containing boolean or integer type outputs leads to a fmu that cannot be exploited by FMPy or by Amesim.
In the simulink example model attached, the first output is of real type, the second of boolean type, and the last two of integer type.
When FMPy reads the generated fmu, this error appears:
The only way to get around this problem is to edit the fmu xml and add the "variabilty" parameter and assign it to "discrete" no workaround found via simulink
This seems to me to be a FMIKit issue
kind regards
Matlab version : R2020b FMIKit version : 3.1
workingWithFMIKit_Rlt.zip