Got Questions? Get Answers.
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:
remove 'ans = '

Subject: remove 'ans = '

From: mat

Date: 5 Feb, 2008 13:40:20

Message: 1 of 2

leaving a matlab statement without ';' outputs to: ans
= 'statement value'

how do i remove this automatic 'ans =' so i just get
the 'statement value' ??

could not find in help.

thanks a lot!

mat

Subject: remove 'ans = '

From: dvt

Date: 5 Feb, 2008 13:46:43

Message: 2 of 2

mat wrote:
> leaving a matlab statement without ';' outputs to: ans
> = 'statement value'
>
> how do i remove this automatic 'ans =' so i just get
> the 'statement value' ??
>
> could not find in help.
>
> thanks a lot!
>
> mat

help disp

--
Dave
dvt at psu dot edu

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