Changeset 1189 for trunk/src/set_param_input.m
- Timestamp:
- Dec 13, 2025, 10:40:41 PM (22 hours ago)
- File:
-
- 1 edited
-
trunk/src/set_param_input.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_param_input.m
r1157 r1189 8 8 9 9 10 function [ParamOut,errormsg] = set_param_input(ListParam,DefaultValue,ParamIn, Comment)10 function [ParamOut,errormsg] = set_param_input(ListParam,DefaultValue,ParamIn,Title) 11 11 ParamOut=[]; 12 12 errormsg=[]; 13 13 NbParam=numel(ListParam); 14 14 if numel(DefaultValue)~=NbParam 15 error smsg='ERROR in set_param_input: the list of default values must have the same size as the list of parameters';15 errormsg='ERROR in set_param_input: the list of default values must have the same size as the list of parameters'; 16 16 return 17 17 end 18 if ~exist(' Comment','var')19 Comment=cell(NbParam,1);18 if ~exist('Title','var') 19 Title='get the input parameters'; 20 20 end 21 21 prompt=cell(NbParam,1); … … 32 32 end 33 33 end 34 dlg_title = 'get the input parameters';35 34 options.Resize='on'; 36 answer = inputdlg(ListParam,dlg_title,NbParam,prompt,options);37 %answer = msgbox_uvmat('INPUT_TXT',ListParam);35 options.WindowStyle='normal'; 36 answer = inputdlg(ListParam,Title,1,prompt,options); 38 37 if isempty(answer) 39 38 return
Note: See TracChangeset
for help on using the changeset viewer.
