This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% 窗口最大化 | |
figure; | |
set(gcf,'outerposition',get(0,'screensize')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% MATLAB中的 dir 函数,返回的是一个文件夹/文件列表结构体,前面两行表示的是'.'和'..',从第3行开始才是目标文件夹下的子文件夹和文件。 | |
file_list = dir(dir_target); | |
for k=3:length(file_list) | |
if(~file_list(k).isdir) | |
full_filename = fullfile(file_list(k).folder, file_list(k).name); | |
% fprintf('%s\n', full_filename); | |
end | |
end |