bvqxfile_getcont.m

来自「toolbox of BVQX, This is the access betw」· M 代码 · 共 33 行

M
33
字号
function c = bvqxfile_getcont(l)
% BVQXfile::<PRIVATE>::getcont  - get contents struct of object

% Version:  v0.7b
% Build:    7082923
% Date:     Aug-29 2007, 11:08 PM CEST
% Author:   Jochen Weber, Brain Innovation, B.V., Maastricht, NL
% URL/Info: http://wiki.brainvoyager.com/BVQXtools

% global storage
global bvqxclup;
global bvqxcont;

% force one element only
if nargin ~= 1 || ...
    numel(l) ~= 1
    error( ...
        'BVQXfile:BadArgument', ...
        'Invalid object dim.' ...
    );
end

% get contents
try
    c = bvqxcont(bvqxclup == l).C;
catch
    error( ...
        'BVQXfile:LookupError', ...
        'Error looking up object with handle %s.', ...
        hxdouble(l) ...
    );
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?