ISCLASSFILE-IsaMatlab.mfileaclassdefinition?
B=ISCLASSFILE(FILENAME)Returns1ifFILENAMEisaMatlabclassdefinitionfile.
Returns0otherwise.
UsesanundocumentedMatlabfunctionMTREE.MTREE's behavior may change in future releases. Derived from comments in this nice blog note: https://blogs.mathworks.com/loren/2013/08/26/what-kind-of-matlab-file-is-this/Note:EXIST(FILENAME,'CLASS')didnotworkformycustomobjectsSeealso:vlt.matlab.isfunctionfileExample:wfilename=which('table')b=vlt.matlab.isclassfile(wfilename)