Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab Simulink Simulation very slow

  1. Aug 18, 2011 #1
    I tried to solve a simple transmision line circuit using matlab simpower system
    In this image, Ac source is 132 kv. I want to read rms value at the load.
    But unfortunately, the simulation is running very slow, and it is taking forever to even comple the one ac cycle.

    Any help please.
  2. jcsd
  3. Aug 19, 2011 #2


    User Avatar
    Gold Member

    in command-line MATLAB, you can use profiler. Not sure if it works for simulink but you may give it at try. At command line:

    >> profile on

    (now run your program for a couple minutes, then cancel it and:)

    >> profile off
    >> profiel viewer
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook