When I created a simple FMU in MotionView and imported it to Simulink.
Run it and errors shows,
Simulink shows:
An error occurred while running the simulation and the simulation was terminated
Caused by: Error in supplied FMU: An error occurred in function 'fmi2EnterInitializationMode' for block 'Bucket20211/FMU' during simulation. To view debug logs, open FMU log file. For more information, see the FMU troubleshooting documentation.
Open FMU log file,
Debug Logging enabled for block 'Bucket20211/FMU'
Log from FMU: [category:error, status:fmi2Error] fmi2EnterInitializationMode: xml model not generated with fmu_batch call
Can somebody tell me the reason ?