检测子模块的耗时

如何监测模型中各子系统的运行时间 在matlab论坛中(@[email protected]),在command window中使用set_param(‘mymodel’, ‘Profile’, ‘on’); 打开simulink profiler(不弹出窗口),再执行仿真后,就有各个模块的各个phase的执行时间的报告了(执行完成后自动弹出)。 注:其中mymodel为模型名,不需要后缀名。 如
相关文章
相关标签/搜索