matlab中的exist是什么意思

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/21 00:19:03
matlab中的exist是什么意思
xNA_e* @oIN@b"ݞaٽtvG0_k78䲿ol#m ?3ȍ]|̿y1}k?]{" a"o:ax # ( q&C˕4Ab.YTݔ<+f6Ҝ~.!R -4:X&]K bȈoH JܟWP hj VC@ !Cn3!8d``\Ů- D=myX[:2 n: Aƅ^'nG\*=䬐!h߷D-yCL2%Vpoܮe3-

matlab中的exist是什么意思
matlab中的exist是什么意思

matlab中的exist是什么意思
>> help exist
EXIST Check if variables or functions are defined.
EXIST('A') returns:
0 if A does not exist
1 if A is a variable in the workspace
2 if A is an M-file on MATLAB's search path.It also returns 2 when
A is the full pathname to a file or when A is the name of an
ordinary file on MATLAB's search path
3 if A is a MEX-file on MATLAB's search path
4 if A is a MDL-file on MATLAB's search path
5 if A is a built-in MATLAB function
6 if A is a P-file on MATLAB's search path
7 if A is a directory
8 if A is a Java class
>> exist('map')
ans =
7
7 if A is a directory