| Embedded IDE Link™ MU | ![]() |
| On this page… |
|---|
The real-time execution profile capability in Embedded IDE Link™ MU uses a set of utilities that record, upload, and analyze the execution profile data for synchronous and asynchronous tasks in your generated code.
Note The software does not support profiling on NEC® V850 and Freescale™ MPC7400 processors. |
The profiler generates output in the following formats:
Graphical display that shows task activation, preemption, task resumption, and task completion. All of the data is presented in the form of a MATLAB® graphic with the data presented by model rates and execution time.
An HTML report that provides statistical data about the execution of each task in the running process.
In combination, the reports provide a detailed analysis of how your code runs on the processor.
To configure a model to use execution profiling, perform the following steps:
Open the Configuration Parameters dialog box for your model.
Select Embedded IDE Link MU from the Select tree.
Select Profile real-time task execution to enable real-time task profiling.
Select Export IDE link handle to base workspace and assign a name for the handle in IDE link handle name.
Click OK to close the Configuration Parameters dialog box.
To run your simulation and then view the execution profile for your model:
Click Incremental build (
) on the model toolbar to generate,
build, load, and run your code on the processor.
Switch to the IDE and halt the running program in Green Hills MULTI®.
To view the profile report, enter the following command at the MATLAB command prompt:
profile(objectname,'report')
where objectname is the name you provided in IDE link handle name in step 4 above and report is required to generate the profile report. MATLAB returns a graphic of the execution report and the HTML execution report. The following figure shows a sample profiling report graphic generated from the Code Generation Workflow demo.

Refer to profile for more information.
![]() | Using Processor in the Loop | Function Reference | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |