How to create another line of code

9 views (last 30 days)
Richard Sweeney
Richard Sweeney on 27 Sep 2020
Answered: madhan ravi on 27 Sep 2020
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
madhan ravi on 27 Sep 2020
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!