www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@candidateset/checkPreview.m
function ret = checkPreview(obj) %CHECKPREVIEW Check whether a preview should be automatically generated. % % RET = CHECKPREVIEW(OBJ) returns true if the candidateset object should % automatically show previews when it is being edited. Subclasses that % may take a long time to apply values and generate points may want to % return false. % % Note: in all cases the user will be able to override the default % preview setting, so this flag cannot be used to completely remove the % preview for a candidateset class. % Copyright 2007 The MathWorks, Inc. % All candidate set objects turn on the preview by default ret = true;