📄 getoptions.sci.svn-base
字号:
function v = getoptions(options, name, v, mendatory)// getoptions - retrieve options parameter//// v = getoptions(options, name, v, mendatory)//// Copyright (c) 2008 Gabriel Peyreif argn(2)<3 error('Not enough arguments.');endif argn(2)<4 mendatory = 0;endif isfield(options, name) v = eval( strcat(['options.' name ';']) );elseif mendatory error( strcat(['You have to provide options.' name '.']) );endendfunction
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -