getoptions.sci.svn-base

来自「general toolbox......」· SVN-BASE 代码 · 共 22 行

SVN-BASE
22
字号
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 + =
减小字号Ctrl + -
显示快捷键?