TRiggered Subsystem is taking very high time
Hi,
I have a simulation with several matlab function block in my simulation and I am using SampleTime to trigger it at different frequencies.
Now as part of the test I want to vary the frequency of these blocks and see the behavior of simulation. I am not able to change the SampleTime variable as all the blocks of this simulation are Encrypted in the end.
I am thinking of redesigning it as Edge Triggered subsytem, so that I can controll the clock externally. But the moment I add triggered block on top of the Matlab Function. It becomes very slow.
Can some help why the same simulation with same execution rate is very slow with triggered block?
I have checked with SImulink Profiler that the majority of timeis being consumed by the Triggered subsytem.Hi,
I have a simulation with several matlab function block in my simulation and I am using SampleTime to trigger it at different frequencies.
Now as part of the test I want to vary the frequency of these blocks and see the behavior of simulation. I am not able to change the SampleTime variable as all the blocks of this simulation are Encrypted in the end.
I am thinking of redesigning it as Edge Triggered subsytem, so that I can controll the clock externally. But the moment I add triggered block on top of the Matlab Function. It becomes very slow.
Can some help why the same simulation with same execution rate is very slow with triggered block?
I have checked with SImulink Profiler that the majority of timeis being consumed by the Triggered subsytem. Hi,
I have a simulation with several matlab function block in my simulation and I am using SampleTime to trigger it at different frequencies.
Now as part of the test I want to vary the frequency of these blocks and see the behavior of simulation. I am not able to change the SampleTime variable as all the blocks of this simulation are Encrypted in the end.
I am thinking of redesigning it as Edge Triggered subsytem, so that I can controll the clock externally. But the moment I add triggered block on top of the Matlab Function. It becomes very slow.
Can some help why the same simulation with same execution rate is very slow with triggered block?
I have checked with SImulink Profiler that the majority of timeis being consumed by the Triggered subsytem. simulink, performance MATLAB Answers — New Questions