Reputation: 2266
I am using Simulink from Matlab. When plotting anything the Simulation Step Time is extremely slow. How can I change the step time in settings. I have tried a lot but I don't understand the settings pretty much.
Update: Phase Locked Loop
Upvotes: 1
Views: 560
Reputation: 1492
The speed of simulation depends on alot things including what sort of calculation is it making, adding user defined MATLAB function can slow it down alot. in order to change your sampling time to much higher one put all of your model in one subsystem and add a trigger port inside the subsystem and connect a pulse generater to the input of the trigger outside the subsystem, dont forget to change all your block from continous to discrete with inherited sampling time.use a bigger sampling time in the pulse generator this might speed up the simulation
Upvotes: 1