ENDTASK

ENDTASK is used to close tasks/processes running in Windows/Linux by providing the process name.

You are now following this Submission

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://in.mathworks.com/matlabcentral/fileexchange/42806-endtask), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: ISPROCESS

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0