Open yinyue01 opened 3 months ago
A simple simulink model below :
The model can export fmu, but the fmu cannot be imported into simulink for use. Matlab crashes during running the fmu model.
I have made more attempts and found that all the problematic FMUs code contain “sfun_discreteVariableDelay.c”.
Development environment configuration : FMIKit-Simulink-3.1 MATLAB 2021b
The test simulink model : test.zip
Maybe you can help me solve the problem. Thx
A simple simulink model below :![test](https://github.com/CATIA-Systems/FMIKit-Simulink/assets/11345661/364bf192-86df-4bb2-90fc-203cac525264)
The model can export fmu, but the fmu cannot be imported into simulink for use. Matlab crashes during running the fmu model.![crash](https://github.com/CATIA-Systems/FMIKit-Simulink/assets/11345661/6ca24e63-d75f-41b6-803d-a50467d67520)
I have made more attempts and found that all the problematic FMUs code contain “sfun_discreteVariableDelay.c”.![vs2017](https://github.com/CATIA-Systems/FMIKit-Simulink/assets/11345661/6069350c-9dcb-41b3-8819-dd6def81e150)
Development environment configuration : FMIKit-Simulink-3.1 MATLAB 2021b
The test simulink model : test.zip
Maybe you can help me solve the problem. Thx