www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregMdlGui/@localmodelpane/pGetModelText.m
function [Lines, Bold, Indent] = pGetModelText(obj) %PGETMODELTEXT Generate the model description text % % [LINES, BOLD, INDENT] = PGETMODELTEXT(OBJ) returns the text and the bold % and indent modifier flags for the model being displayed in the object. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. m = obj.model; if isempty(m) Lines = {}; Bold = false(0); Indent = false(0); else if isempty(obj.Pooled_RMSE) [Lines, Bold, Indent] = str_view(m, obj.ModelName); else [Lines, Bold, Indent] = str_view(m, obj.ModelName, obj.Pooled_RMSE); end end