ENDTASK

ENDTASK is used to close tasks/processes running in Windows/Linux by providing the process name.
333 Downloads
Updated 1 Sep 2016

View License

ENDTASK is used to close tasks running in Windows/Linux by providing the process name.
This function returns 0 or 1 based on success of killing a process.
NOTE: This function requires the file isprocess.m to be on the path

Syntax: endtask('firefox')

Cite As

Varun Gandhi (2026). ENDTASK (https://www.mathworks.com/matlabcentral/fileexchange/42806-endtask), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Code Compilation Customization in Help Center and MATLAB Answers
Acknowledgements

Inspired by: ISPROCESS

Version Published Release Notes
1.0.0.1

Updated license

1.0.0.0