How do I access content of Simulink.ProfileData in R2015b

조회 수: 1 (최근 30일)
Marius Mueller
Marius Mueller 2020년 3월 9일
Hi community,
I want to use the simulink profile option to evaluate the effect of different model settings on model update/compile and simulation speed. I run around 100 simulations to test different settings and I want to compare the results.
My problem is that i do not know how to access the content of Simulink.ProfileData objects via command line. Neither the documentation nor the class/metaclass information was of any help to me.
myModel = 'testModel';
set_param(myModel,'Profile','on');
sim(myModel);
save('myProfileResult.mat',[myModel,'ProfileData']);
I am aware that I can generate the full report with
load 'myProfileResult.mat'
slprofreport([myModel,'ProfileData']);
but what I want is to access the content of the ProfileData object.
Could anyone provide me with an idea on how to access e.g. the 'Total recorded time' that is displayed in the report?
Kind regards,
Marius

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by