Stop profiling service on target computer
stopProfiler( stops the
profiler from running on the target computer.
If the profiler collected data, the data is available for download to the development computer.
If the profiler did not collect data, the profiler is ready to restart.
If you stop execution of the real-time application, the profiler stops.
Start the profiler, and then start the real-time application. After collecting execution profile data, stop the profiler.
tg = slrealtime('TargetPC1'); slbuild('slrt_ex_ExecutionProfAndConc'); load(tg,'slrt_ex_ExecutionProfAndConc'); startProfiler(tg); % start profiler before starting application start(tg); % let application run until its stop time % or stop the profiler by calling stopProfiler stopProfiler(tg);