get_region_param.m
来自「CheckMate is a MATLAB-based tool for mod」· M 代码 · 共 23 行
M
23 行
function val = get_region_param(s,param)% Get a parameter of a "region" object.%% Syntax:% "val = get_region_param(s,param)"%% Description:% Returns the field specified by the string "param" in the structure% for the "region" object "s".% % Examples:% * Suppose "s = region(5,[1 3 4])".%% * "val = get_region_param(s,'nstate')" returns the total number of% states in the universe set for the region "s", which is 5.%% See Also:% regionval = s.(param);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?