MATLAB Hilfe-Center
Shut down parallel pool
delete(poolobj)
delete(poolobj) shuts down the parallel pool associated with the object poolobj, and destroys the communicating job that comprises the pool. Subsequent parallel language features will automatically start a new parallel pool, unless your parallel settings disable this behavior.
poolobj
References to the deleted pool object become invalid. Invalid objects should be removed from the workspace with the clear command. If multiple references to an object exist in the workspace, deleting one reference to that object invalidates the remaining references to it. These remaining references should be cleared from the workspace with the clear command.
clear
example
collapse all
To get the current parallel pool, use the gcp function.
gcp
poolobj = gcp('nocreate');
Shut down the current pool by using the delete function.
delete
delete(poolobj);
parallel.Pool
Parallel pool to shut down, specified as a parallel.Pool object. You can get the current parallel pool with the gcp function.
Example: delete(gcp('nocreate'))
delete(gcp('nocreate'))
Data Types: parallel.Pool
Introduced in R2013b
gcp | parpool
parpool
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
Europa
Asien-Pazifik
Kontakt zu Ihrer lokalen Niederlassung