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