SIMULINK MODEL IS COMPILED BUT NOT RUNNING AND ALSO GETTING HANGED THE SYSTEM

4 views (last 30 days)
I HAVE DESIGNED A EV SYSTEM USING BOTH SIMULINK AND PHYSICAL LIBRARY.THE SYSTEM DOESNOT SHOWING ANY ERROR,IT IS COMPILED BUT NOT RUNNING AND ITS GETS HANGED BUT IN THE LEFT CORNOR OF THE PAGE DOWN IT SHOWS RUNNING .IT IS LOOPING SYSTEM.KINDLY HELP ME .ITS THE URGENT.
THANKING YOU
SMITANJALI ROUT
  1 Comment
Nathan Hardenberg
Nathan Hardenberg on 15 Sep 2023
With this information it is hard do know what the problem is. More information like an image of the model would be good. And does the program crash? I could not figure what you mean by "ITS GETS HANGED". Also what do you mean by "IT IS LOOPING SYSTEM"? Simulink simulates not in a looping matter, just from 0 to x seconds.
But here are some hints for debugging:
  • If it crashes try: 1) another simulation. 2) simplifying the model by commenting out certain parts and check if it works.
  • Check if the model did run already. Sometimes it runs so fast, that you think it did not run. To do this use a scope on one of the signals, or enable logging. Then you can look at the graph.
  • Restarting Matlab/Simulink could also help, but not something I would hope for

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!