Tes3awy
Tes3awy

Reputation: 2266

Matlab Simulink Simulation Time

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.

simulation time

Update: Phase Locked Loop

pll

Upvotes: 1

Views: 560

Answers (1)

Novice_Developer
Novice_Developer

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

Related Questions