get.m

来自「这个是时间序列分析的可视化工具」· M 代码 · 共 13 行

M
13
字号
function val = get(dd,prop_name)
% GET Get asset properties from the specified object
% and return the value

if nargin==1    %Return structure of entire object
    val =struct(dd);
else
    try
        val = getfield(struct(dd),prop_name);
    catch
        error([prop_name,' Is not a valid drag and drop property'])
    end
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?