初版gui

This commit is contained in:
xinxiao
2026-03-16 16:57:25 +08:00
parent 748c50fb44
commit 0e8421ec4f
19 changed files with 3467 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
function save_results_mat(results, file_path)
%SAVE_RESULTS_MAT Save results struct to a MAT file.
arguments
results (1,1) struct
file_path (1,:) char
end
folder_path = fileparts(file_path);
if ~isempty(folder_path) && ~exist(folder_path, 'dir')
mkdir(folder_path);
end
save(file_path, 'results', '-mat');