📄 get.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -