This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Troubleshoot Failed Read of Profiling Data

I get an error from the getProfilerData function.

What This Issue Means

A call of the getProfilerData function produces an error because:

  • The file does not exist in the expected location.

  • The attempt to read the file causes an error.

Try This Workaround

To address this issue, try this procedure:

  1. Check that you have set the profiling options in Code Generation > Verification.

  2. Build and download the real-time application.

  3. In the Command Window, enter:

    tg = slrt;
    startProfiler(tg);
    start(tg);
    pause(1);
    stop(tg);
    profiler_data = getProfilerData(tg)

Related Topics