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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ddeadv<br />

Examples Set up a hot link between a range of cells in Excel (Row 1, Column 1 through<br />

Row 5, Column 5) and the matrix x. If successful, display the matrix:<br />

2-396<br />

format<br />

(optional)<br />

timeout<br />

(optional)<br />

Two-element array specifying the format of the data to be sent<br />

on update. The first element specifies the Windows clipboard<br />

format to use for the data. The only currently supported format<br />

is cf_text, which corresponds to a value of 1. The second<br />

element specifies the type of the resultant matrix. Valid types<br />

are numeric (the default, which corresponds to a value of 0)<br />

and string (which corresponds to a value of 1). The default<br />

format array is [1 0].<br />

Scalar specifying the time-out limit for this operation. timeout<br />

is specified in milliseconds. (1000 milliseconds = 1 second). If<br />

advisory link is not established within timeout milliseconds,<br />

the function fails. The default value of timeout is three<br />

seconds.<br />

rc = ddeadv(channel, 'r1c1:r5c5', 'disp(x)', 'x');<br />

Communication with Excel must have been established previously with a<br />

ddeinit command.<br />

See Also ddeexec, ddeinit, ddepoke, ddereq, ddeterm, ddeunadv

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

Saved successfully!

Ooh no, something went wrong!