sfunchk.m
来自「一些基于matlab/simulink的模型」· M 代码 · 共 16 行
M
16 行
function r = sfunchk(name)e = exist(name, 'file');if e == 2 %disp('We''re dealing with an m-function here') r = 'ttkernelMATLAB';elseif e == 3 %disp('We''re dealing with a mex-function here') r = name;else error(['No m-function or mex-function named ''' name ''' found!'])end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?