- 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
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sarthak
2023-8-30
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multibody Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!