SIMULINK PROFILER - NUMBER OF CALL
4 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I am trying to use Profiler function for SIL of one of the models that I have. I was checking number of call and I have added a dummy block to be sure whether I am doing right thing.
You can see the dummy model that I have. YUSUF_DENEME_100 subsystem operates only mod (5) of simulation time is equal 1; while YUSUF_DENEME_2000 subsytem operates only mod(2000) of simulation time is equal to 1.
That means YUSUF_DENEME_100 should have been called 400 times of YUSUF_DENEME_2000. Also you can see that output of YUSUF_DENEME_2000 is just 39 (which means it has operated 39 times) while YUSUF_DENEME_100 output is (15671 = 400*39,1775).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369379/image.png)
But when I look for Profiler output I see that both of them are called 16 times. How can that happen? Why there is 16 written instead of 39 and 15671.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369382/image.png)
Also,
I have a SIL model and Simulink model in one slx. They have both systems. I want to run Profiler for SIL but it runs always on Simulink model. How can I run profiler for SIL/PIL ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369385/image.png)
Any help will be appreciated.
Thanks.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manual Performance Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!