www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcfoundation/@propertyinterface/getprop.m
function Value = getprop(obj,m,Converter) %GETPROP get property from m % % Value = getprop(obj,m) % Copyright 2006 The MathWorks, Inc. Value = obj.GetFunction(m); if strcmp(obj.Type,'evalstr') && iscell(Value) % only show main evalstr Value= Value{1}; end if nargin>2 && ~isempty(Converter) && isa(Value,Converter{1}) Value = feval(xregGui.uddDispatcher,Converter{2},Value); end