Simulink Simulation will not run simulation
조회 수: 3 (최근 30일)
이전 댓글 표시
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,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/507982/image.png)
and this is the error message:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/507987/image.png)
What do i need to do to get the simulation to run?
댓글 수: 0
답변 (1개)
Kiran Felix Robert
2021년 2월 5일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Sensors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!