⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 display.m

📁 toolbox of BVQX, This is the access between BV and matlab. It will help you to analysis data from BV
💻 M
字号:
function display(S)
% BVQXfile::display  - overloaded method
%
% for 1x1 objects, displays content struct (property list),
% otherwise MxN BVQXfile matrix

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

% global storage
global bvqxcont;

% check size
if numel(S) ~= 1
    osz = sprintf('%d-by-', size(S));
    disp([char(10) '    BVQXfile object: ' osz(1:end-4) char(10)]);
else
    try
        if isBVQXfile(S, true)
            display(bvqxfile_getcont(S.L));
            if S.L == 1 && ...
                numel(bvqxcont) > 1
                disp('  List of currently loaded objects:');
                disp('----------------------------------------------------');
                disp(' Type  | Filename');
                disp('----------------------------------------------------');
                for oc = 2:numel(bvqxcont)
                    disp(sprintf(' %4s  | %s', ...
                        bvqxcont(oc).S.Extensions{1}, bvqxcont(oc).F));
                end
                disp('----------------------------------------------------');
                tspc = whos('bvqxcont');
                disp(sprintf('  Total MB occupied: %.3f', tspc.bytes / 1048576));
            end
        else
            disp([char(10) '    BVQXfile object (cleared): 1-by-1' char(10)]);
        end
    catch
        % do nothing, probably cleared
    end
end

⌨️ 快捷键说明

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