I get an error from the
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.
To address this issue, try this procedure:
Check that you have set the profiling options in Code Generation > Verification.
Build and download the real-time application.
In the Command Window, enter:
tg = slrt; startProfiler(tg); start(tg); pause(1); stop(tg); profiler_data = getProfilerData(tg)