aft_filenameondisk.m

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

M
32
字号
function fname = aft_FilenameOnDisk(hfile)
% AFT::FilenameOnDisk  - returns the filename property
%
% FORMAT:       filename = obj.FilenameOnDisk;
%
% No input fields
%
% Output fields:
%
%       filename    last used filename (on load or save)

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

% only valid for single file
if nargin < 1 || ...
    numel(hfile) ~= 1 || ...
   ~isBVQXfile(hfile, true)
    error( ...
        'BVQXfile:BadArgument', ...
        'Invalid call to %s.', ...
        mfilename ...
    );
end

% get file name
sc = bvqxfile_getscont(hfile.L);
fname = sc.F;

⌨️ 快捷键说明

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