- Check the model configuration and verify all necessary parameters are defined in valid range.
- When Simulink closes, it may display an error message before closing. Try to understand the cause of error and fix the issue.
- Try setting the debug execution mode on which is likely to resolve the issue if the crash is because of conflicting libraries.
- Use breakpoints and other debugger tools in Simulink to debug your model. It should help in identifying any issues or unexpected behaviours in the model.
MATLAB 2022a and MASC ADAMS View 2018.1 Simulation
8 views (last 30 days)
Show older comments
I have created control plant from MSC ADAMS view. When I run the simulink model, it automatically close. Can you help me to figure out?
0 Comments
Answers (1)
Sarthak
on 30 Aug 2023
Hi Vishal,
As per my understanding, if Simulink is closing automatically, it usually indicates there is an error or exception occurring during the simulation.
The error could be occurring due to multiple reasons. Here are a few steps you can take to diagnose and resolve the issue:
Please refer to the following documentations for more information on diagnostics and debugging.
See Also
Categories
Find more on Multibody Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!