isscript

The function checks if an m-file is a script or not.

You are now following this Submission

Provide the filename of the m-file and a boolean is returned that is true if the m-file is a script (i.e. it has no function declaration or classdef).

Cite As

Folkert (2026). isscript (https://www.mathworks.com/matlabcentral/fileexchange/42969-isscript), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Software Development Tools in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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