📄 versioncheck.m
字号:
function MATLABVERSION = versioncheck(x)%VERSIONCHECK Check the Matlab Version% MATLABVERSION = VERSIONCHECK(x) compares the number x to the % version of Matlab on which the function is running. If x is % less than the current Matlab version the function generates % the error "This program requires Matlab version # or later" % where # is replaced by x. MATLABVERSION is a variable % containing the current version.%% See also SCREENSIZECHECK% Jordan Rosenthal, 11-Sep-1999MATLABVERSION = version;MATLABVERSION = str2num(MATLABVERSION(1:3));if MATLABVERSION < x error(['This program requires Matlab version ' num2str(x) ' or later']);end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -