23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2evalc<br />

Purpose Evaluate <strong>MATLAB</strong> expression with capture<br />

Syntax T = evalc(S)<br />

T = evalc(s1,s2)<br />

[T,X,Y,Z,...] = evalc(S)<br />

Description T = evalc(S) is the same as eval(S) except that anything that would normally<br />

be written to the command window is captured and returned in the character<br />

array T (lines in T are separated by \n characters).<br />

T = evalc(s1,s2) is the same as eval(s1,s2) except that any output is<br />

captured into T.<br />

[T,X,Y,Z,...] = evalc(S) is the same as [X,Y,Z,...] = eval(S) except<br />

that any output is captured into T.<br />

Remark When you are using evalc, diary, more, and input are disabled.<br />

See Also diary, eval, evalin, input, more<br />

evalc<br />

2-505

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!