myerror.m

来自「实现地震勘探中」· M 代码 · 共 24 行

M
24
字号
function myerror(message)% Generalization of Matlabs error message for compiled code% S4M.deployed == 0   same as standard error message% S4M.deployed == 1   Error message is displayed in dialog window and global% variable ABORTED is set to true.%% Written by: E. R.: January 25, 2004% Last updated: May 5, 2005:%           myerror(message)% INPUT% message   string with error message to displayglobal S4M ABORTEDif S4M.deployed    disp(message)   myerrordlg(message)   ABORTED=true;else   error(message)end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?