- Check your model configuration: Ensure that your model is properly configured for simulation. Check the solver settings, simulation duration, and other relevant parameters to make sure they are set correctly.
- Check for missing or disconnected blocks: Inspect your model carefully to ensure that all necessary blocks are present and properly connected. A missing or disconnected block could prevent the simulation from running.
- Check for conflicting or incorrect block parameter settings: Verify that the settings for each block in your model are appropriate for your simulation. Incorrect or conflicting parameter settings can lead to simulation issues.
- Restart MATLAB/Simulink: Sometimes, restarting MATLAB or Simulink can resolve temporary issues. Close and reopen the software to see if it resolves the problem.
simulink not running with no error showing
174 次查看(过去 30 天)
显示 更早的评论
i start to create simple electrical circuit in simulink
when i press run to simulate model
it is not running
and there is no error showing in the diagnostic viewer
0 个评论
回答(2 个)
Abhas
2023-6-27
Hi, there could be few issues with your model. Here are some of the ways you can try to look into:-
If none of these steps resolve the problem, it may be helpful to provide more specific details about your model or any error messages you encounter.
2 个评论
Abhas
2023-6-27
Try adding a display block to visualise the result. If you get some output in it, then your model is being executed.
Nathan Hardenberg
2023-6-27
How do you know that the simulation did not run? In your Model you have not really a good way to see that, since it will simulate very fast. Try adding something simple like:
If the display shows a value after you did press "Run", your Model ran perfectly fine. If you want the voltage over time you have to add a "Voltage Sensor". But in this case the voltage is contant.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!