Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Continuing code on another line

Subject: Continuing code on another line

From: Richard Cobley

Date: 18 Aug, 2004 10:22:21

Message: 1 of 2

In an m-file is there any way to continue the code on to another line
without upsetting the compiler? In the same way as the Fortran $? Just
want to make long expressions easier to see without having to scroll along.

Thanks,

Rich.

Subject: Continuing code on another line

From: Herbert Ramoser

Date: 18 Aug, 2004 11:23:03

Message: 2 of 2

Richard Cobley wrote:
> In an m-file is there any way to continue the code on to another line
> without upsetting the compiler? In the same way as the Fortran $? Just
> want to make long expressions easier to see without having to scroll along.

Place ... (three dots) at the end of line you want to continue.

-Herbert

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us