ENDTASK
                    Version 1.0.0.1 (1.58 KB) by  
                  Varun Gandhi
                    
                
                
                  ENDTASK is used to close tasks/processes running in Windows/Linux by providing the process name.
                
                  
              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 (2025). ENDTASK (https://se.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 LinuxCategories
      Find more on Code Compilation Customization in Help Center and MATLAB Answers
    
  Tags
Acknowledgements
Inspired by: ISPROCESS
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
