How to create another line of code

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

Products

Asked:

on 27 Sep 2020

Answered:

on 27 Sep 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!