Starting a new line

63 views (last 30 days)
1582251394
1582251394 on 24 Mar 2016
Commented: 1582251394 on 24 Mar 2016
Hi I'm really new to MATLAB. My questions is how to a start a new line without executing the code. For example if I have:
y = 1123414124124124124 (want new line here without executing)

Answers (1)

Meghana Dinesh
Meghana Dinesh on 24 Mar 2016
Edited: Meghana Dinesh on 24 Mar 2016
Are you typing your code in the Command Window? Then use "..." and < enter >
But I suggest you start typing your code in a script. (Home > New > Script)
  1 Comment
1582251394
1582251394 on 24 Mar 2016
I have an incredibly long piece of code that only calculates one thing (in the worst way possible). I'm just trying to format it nicer. Thank you I will try out script and see if it helps.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!