Borrar filtros
Borrar filtros

simulink not running with no error showing

98 visualizaciones (últimos 30 días)
osama fahad
osama fahad el 27 de Jun. de 2023
Comentada: Abhas el 27 de Jun. de 2023
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

Respuestas (2)

Abhas
Abhas el 27 de Jun. de 2023
Hi, there could be few issues with your model. Here are some of the ways you can try to look into:-
  1. 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.
  2. 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.
  3. 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.
  4. Restart MATLAB/Simulink: Sometimes, restarting MATLAB or Simulink can resolve temporary issues. Close and reopen the software to see if it resolves the problem.
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 comentarios
osama fahad
osama fahad el 27 de Jun. de 2023
but if there is an error it will show in the diagnostic viewer
in addition to that
when i try to run simulink onramp course
it happend with me the same thing
no error show
and when i press the run botton
it stop immediately
Abhas
Abhas el 27 de Jun. de 2023
Try adding a display block to visualise the result. If you get some output in it, then your model is being executed.

Iniciar sesión para comentar.


Nathan Hardenberg
Nathan Hardenberg el 27 de Jun. de 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.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by