How can I find out the subsystem computation time for each tilmestep?
9 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
At the moment I am working inside Simulink, trying to simulate a real-time applicable control scheme. The entire simulation runs about 3-5x faster than the time over which is simulated.
However as at some instances the computational time required will be longer than at some other time instance. For my real-time application it is necessary that all these individual computational steps take less than a certain amount of time. Is it possible to find out how long a subsystem block takes to compute a step?
I was looking at the 'tic/toc' functions but don't clearly see how I should/could implement this... Or is there maybe another function/block for this? The solver profiler tool only shows me how large each step taken was, but not the time it took to compute this step.
I hope you guys can help me!
Kind regards,
Bram
0 件のコメント
回答 (2 件)
TAB
2018 年 10 月 18 日
Use Simulation profiler (not Solver profiler) to check profile info of blocks in the model.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Target Computer Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!