初版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
@@ -0,0 +1,25 @@
function config = load_case_template(case_id)
%LOAD_CASE_TEMPLATE Load a predefined case template into unified config.
arguments
case_id
end
case_key = normalize_case_id(case_id);
switch case_key
case "case01"
config = load_case_template_case01();
otherwise
error('load_case_template:UnsupportedCase', ...
'Unsupported case template: %s', string(case_key));
end
end
function case_key = normalize_case_id(case_id)
if isnumeric(case_id)
case_key = "case" + compose("%02d", case_id);
else
case_key = lower(string(case_id));
end
end