- 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
184 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Abhas
le 27 Juin 2023
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 commentaires
Abhas
le 27 Juin 2023
Try adding a display block to visualise the result. If you get some output in it, then your model is being executed.
Nathan Hardenberg
le 27 Juin 2023
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 commentaires
Voir également
Catégories
En savoir plus sur Simulation and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!