MATLAB: Does the Simulink Profiler not list all the blocks in the model in Simulink 7.4 (R2009b)

simulink

I want to profile my Simulink model running in Accelerator mode using the Simulink profiler.
My model is very large, but the profiler shows me only a few blocks, typically scopes and S-functions.

Best Answer

This is a limitation of the Simulink Profiler in Simulink 7.4 (R2009b).
The profiler can not profile individual blocks when a model runs in accelerator mode. To workaround this issue, try profiling your model in Normal mode. This will give you an idea of which blocks should be optimized.