08-03-2014 03:53 AM
Hi guys, I am working on a project that uses the control design and simulation toolkit. It's working very well until I created a subsystem that includs the motor model. It shows me right results but the execution became strangely slow. I tried te chage the frequency of the simulation loop and I even disabled synchronizing the loop to timing source (to work at full speed) but no even a chage was occurred. What could be the main cause for that? Can you help to figure out? Thank you and have a nice day.
08-03-2014 07:24 AM
Step one: Get rid of all the local variables.
Step two: What is the motor simulation doing? Any long and involved math happening? Also what does "strangely slow" mean?
Mike...