初版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
+13
View File
@@ -0,0 +1,13 @@
function config = load_config_json(file_path)
%LOAD_CONFIG_JSON Load a config struct from a JSON file.
arguments
file_path (1,:) char
end
if ~exist(file_path, 'file')
error('load_config_json:FileNotFound', 'Config file not found: %s', file_path);
end
json_text = fileread(file_path);
config = jsondecode(json_text);