Simulink Simulation will not run simulation

14 visualizaciones (últimos 30 días)
Bradley Johnson
Bradley Johnson el 3 de Feb. de 2021
Respondida: Kiran Felix Robert el 5 de Feb. de 2021
I am trying to get a simulink simulation to run and keep getting errors but not sure why. I have simscape and simscape electrical added on to my software. this is my circuit,
and this is the error message:
What do i need to do to get the simulation to run?

Respuestas (1)

Kiran Felix Robert
Kiran Felix Robert el 5 de Feb. de 2021
Hi Bradley,
This issue might arise when one of the port or a signal has a ‘NaN‘ or an ‘Inf’ as value. You can debug it using Step and activating ‘Show value on selected port’ and select all ports.
Also check the initial conditions and parameters for possibilities of ‘NaN’ or ‘Inf‘ values, if simulation errors out at time step 0.

Categorías

Más información sobre Electrical Sensors en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by