www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgsurfview/@svdata/isError.m
function iserr = isError(obj) %ISERROR Indicates whether there was an error calculating the data % % iserror = obj.isError % % The return value is logical. If true, there is no data, % and the error message can be retrieved using the method getErrorMessage. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. iserr = ~isempty(obj.message);