How do I access content of Simulink.ProfileData in R2015b

2 次查看(过去 30 天)
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