windows 10 matlab interactive input needs condensing on output. How to do?
Show older comments
My code is:
prompt='a='; a=input(prompt)
prompt='b='; b=input(prompt)
prompt='c='; c=input(prompt)
prompt='d='; d=input(prompt)
Output is:
a=-3
a =
-3
b=0
b =
0
Desired output:
a=-3
b=0
c=0
d=2
Can I do this?
MM
Answers (1)
Mary Marion
on 16 Jan 2019
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!