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?

Réponses (1)

madhan ravi
madhan ravi le 27 Sep 2020

0 votes

It’s because you’re typing it in the COMMAND WINDOW. Use a script/live script.

Catégories

En savoir plus sur Entering Commands dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by