Search results
This MATLAB function creates a modal dialog box containing one or more text edit fields and returns the values entered by the user.
26 lip 2020 · dims = [1 35]; definput = {'3000','10'}; answer = inputdlg (prompt,dlgtitle,dims,definput) I want to create a dropdown menu for period only with specific values.
30 maj 2022 · Dear all, I'm trying to implement a dialog box within my script/app to request the user to input values to be used for a certain calculation adapting from this example: https://it.mathworks.com/h...
8 lis 2012 · name='Input for Peaks function'; numlines=1; defaultanswer= {'20','hsv'}; options.Resize='on'; options.WindowStyle='normal'; options.Interpreter='tex'; answer=inputdlg (prompt,name,numlines,defaultanswer,options); My questions/problems are the following: Why the dialog is not rescaled, and the title is "Input fo..."
30 maj 2022 · input = inputdlg(prompt, ,[1 60],definput, opts); What if I want to add another value within a list box (only choosing from determined values)? So mixing prompts and list boxes within the same input dialog.
What if I want to add another value within a list box (only choosing from determined values)? So mixing prompts and list boxes within the same input dialog. Hope anyone will help me, thanks!
21 kwi 2012 · You need to use num2str to convert a number into a printable character. inputdlg(['Enter the ' num2str(i) 'th m value']); A more general solution would be to use sprintf to format your string; to do the same thing with sprintf you would use: inputdlg(sprintf('Enter the %dth m value', i));