display.m

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

M
45
字号
function display(S)
% BVQXinifile::display  - overloaded method
%
% displays the content of an BVQXinifile object
%
% FORMAT:       display(IniFileObject)
%
% Input fields:
%
%       IniFileObject   object of which content should be displayed

% Version:      v0.7b
% Build:        7090311
% Date:         Sep-03 2007, 11:20 AM CEST
% Author:       Jochen Weber, Brain Innovation, B.V., Maastricht, NL
% URL / Info:   http://wiki.brainvoyager.com/BVQXtools

% for sizes check
num_h = numel(S);
isf = isBVQXinifile(S);

% if we have output arguments
if num_h == 1
    if ~isf
        error( ...
            'BVQXinifile:InvalidObject', ...
            'Cannot display information on invalid object.' ...
        );
    end
    disp(BVQXinifile(S, 'display'));
else
    for hc = 1:num_h
        if ~isf(hc)
            continue;
        end
        disp('----------------------------------');
        try
            disp(BVQXinifile(S(hc), 'getfilename'));
            dips(BVQXinifile(S(hc), 'display'));
        catch
            rethrow(lasterror);
        end
    end
end

⌨️ 快捷键说明

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