Ignore:
Timestamp:
Dec 13, 2025, 10:40:41 PM (22 hours ago)
Author:
sommeria
Message:

introduced creator of xml for PCO multitif

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_param_input.m

    r1157 r1189  
    88
    99
    10 function [ParamOut,errormsg] = set_param_input(ListParam,DefaultValue,ParamIn,Comment)
     10function [ParamOut,errormsg] = set_param_input(ListParam,DefaultValue,ParamIn,Title)
    1111ParamOut=[];
    1212errormsg=[];
    1313NbParam=numel(ListParam);
    1414if numel(DefaultValue)~=NbParam
    15     errorsmsg='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';
    1616    return
    1717end
    18 if ~exist('Comment','var')
    19     Comment=cell(NbParam,1);
     18if ~exist('Title','var')
     19    Title='get the input parameters';
    2020end
    2121prompt=cell(NbParam,1);
     
    3232    end
    3333end
    34 dlg_title = 'get the input parameters';
    3534options.Resize='on';
    36 answer = inputdlg(ListParam,dlg_title,NbParam,prompt,options);
    37 %answer = msgbox_uvmat('INPUT_TXT',ListParam);
     35options.WindowStyle='normal';
     36answer = inputdlg(ListParam,Title,1,prompt,options);
    3837if isempty(answer)
    3938    return
Note: See TracChangeset for help on using the changeset viewer.