www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimitem/checkSetup.m
function [Status, Message] = checkSetup(obj) %CHECKSETUP Check the object's parameters % % [STATUS, MESSAGE] = CHECKSETUP(OBJ) checks that the object's settings % are acceptable. STATUS is an integer code that indicates whether that % input is acceptable. A status of 0 indicates no problem, 1 indicates a % warning issue and 2 indicates an critical problem. MESSAGE is a string % that describes the overall problem and should be non-empty whenever the % status code is greater than 0. % Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. Status = 0; Message = '';