www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@xregdesign/isinitialised.m
function out=isinitialised(des) % ISINITIALISED Indicate if design has been initialised % % RET=ISINITIALISED(D) returns 1 if D has been initialised, % 0 otherwise. By initialised, we mean the design object % contains valid design points, whether they are optimised % or not. % % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if isempty(des.design) out=0; else out=1; end