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

📄 popstr.m

📁 A MATLAB tool for analysis of Transient Otoacoustic Emission signals
💻 M
字号:
function [str, Files, dtaPath] = popstr(dire)

%popstr    sets popupmenu string in GUI created by ILO.M
%
%     [str, Files, dtaPath] = popstr(dire)
%
%   in: dire    directory to read from (none gives uigetfile)
%
%  out: str     string matrix ([num names ears dates])
%       Files   names of all dta-files (string matrix)
%       dtaPath    path of file location


% Pekka Kumpulainen 25.5.1993

[Files,Names,Ear,Date,dtaPath] = rdpat;

[MNames,NNames] = size(Names);
[MEar,NEar] = size(Ear);
[MDate,NDate] = size(Date);
% TEE TARKISTUS, ONKO KAIKKI SAMAN KOKOISIA

% create string for popup-menu
vm = ', '; p = '.';
lline = NNames+NEar+NDate+2*length(vm);

popstring = [];
for ii=1:MNames;
    popstring = str2mat(popstring,[sprintf('%3g',ii) '. ' Names(ii,:) vm Ear(ii,:) vm Date(ii,:)]);
end

str = popstring(2:(MNames+1),:);

⌨️ 快捷键说明

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