Save and View Pool Monitoring Results
Learn how to save pool monitoring data collected using the Pool
Dashboard and an ActivityMonitor object. You can then share the pool monitoring data or
view the results at a later time.
Save Pool Monitoring Data
You can collect pool activity monitoring data interactively with the Pool Dashboard.
To save pool monitoring data you collect using the Pool Dashboard as a MAT file:
In the File section of the Pool Dashboard, click Save.
In the Save File to Write dialog box, provide a name for the file.
Click Save.
Alternatively, you can collect pool monitoring data programmatically using an
ActivityMonitor object. You can then use the save
or results function to retrieve pool monitoring results as an
ActivityMonitorResults object. To learn more, see Programmatically Collect Pool Monitoring Data.
To save an ActivityMonitorResults object to a MAT file, choose
one of these options:
Use the
savefunction.For example, to save the
ActivityMonitorResultsobject with the namemonitoringResultsto a MAT file with the namepoolMonitoringResults, in the MATLAB® Command Window, run:save("poolMonitoringResults","monitoringResults");
Save from the Workspace panel.
In the Workspace panel, right-click the
ActivityMonitorResultsobject variable and select Save Selection.In the Save Workspace Variables dialog box, provide a name for the file and select Save.
Open and save in the Pool Dashboard.
Visualize the monitoring results in the Pool Dashboard. The
parpoolDashboardfunction opens the Pool Dashboard and displays the monitoring results in theActivityMonitorResultsobject,monitoringResults.parpoolDashboard(monitoringResults);
In the File section of the Pool Dashboard, click Save.
In the Save File to Write dialog box, provide a name for the file.
Click Save.
View Saved Results
To view results using the Pool Dashboard:
In the Monitoring section of the Pool Dashboard toolstrip, select Open.
In the Select File to Open dialog box, select the saved pool monitoring results MAT file you want to open.