Matlab: Print text in input field
- by Adam Doyle
Using Matlab,
I have this code:
value = input('>> Enter a value: ');
and basically, I want a "default" value to the right of the colon
(sortof like this)
>> Enter a value: 12
where "12" is editable such that the user could [backspace] [backspace] and change the value to, say, "20" or something.
Is there any (easy) way to do this?
Thanks!