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;
    profiler_data = getProfilerData(tg)

Related Topics