Question: What is wrong with this line of MATLAB: inputValues = inputdlg ( prompt , 'Input', 1 , defaultValues ) ; I keep getting Default Answer

What is wrong with this line of MATLAB:
inputValues = inputdlg(prompt, 'Input', 1, defaultValues);
I keep getting "Default Answer must be a cell array of character vectors" as an error.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!