IsModelFile Function

Returns 1 if the specified file contains .MODEL, .SUBCKT or .ALIAS definitions. Otherwise returns 0. The function will unconditionally return 0 if the file has any of the following extensions:


This will be overridden if the second argument is set to 'AllExt'.


Number Type Compulsory Default Description
1 string Yes Path of file
2 string No Options


Return type: real