How to create another line of code
Show older comments
I'm trying to create another line of code. Whenever finish a line, I press enter and it runs the program, and doesn't create another line. How do I create another line of code so I don't have to type my line of code on one line?
Answers (1)
madhan ravi
on 27 Sep 2020
0 votes
It’s because you’re typing it in the COMMAND WINDOW. Use a script/live script.
Categories
Find more on Entering Commands in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!