?? contmrg.m
字號:
function res = contmrg(options, opt)
%
% res = CONTMRG(options, opt)
%
% Merges options in 'opt' to 'options'
% Options in 'options' will be overwritten by defined options in 'opt'
if isempty(opt)
res = options;
return;
end
allopt = contidx;
[m,n] = size(allopt);
for i=1:m
eval(['val = opt.' allopt(i,:) ';']);
if ~isempty(val)
eval(['options.' allopt(i,:) '= val;']);
end
end
res = options;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -