Hauptinhalt

stop

R2026b

Stop monitoring parallel pool activity

Since R2025a

    Description

    monitorResults = stop(monitor) stops collecting pool activity monitoring data and retrieves all pool activity monitoring results from the ActivityMonitor object, monitor.

    example

    Examples

    Input Arguments

    collapse all

    Pool activity monitor, specified as an ActivityMonitor object.

    Example: monitor = parallel.pool.ActivityMonitor

    Output Arguments

    collapse all

    Pool activity monitoring results, returned as an ActivityMonitorResults object.

    If you have not previously started the ActivityMonitor object, the stop function returns a 0-by-0 ActivityMonitorResults object array with empty StartTime and EndTime object properties.

    To visualize the pool activity monitoring results in the Pool Dashboard, use the parpoolDashboard function.

    Version History

    Introduced in R2025a