How to get the matlab's output? NOT the whole output(I know diary can help)
A easy example:
>> st = rng
st =
Type: 'twister'
Seed: 0
State: [625x1 uint32]
what I want is to copy the output to clipboard. when I use clipboard function, the error occurs:
>> clipboard('copy', st)
Error using mat2str (line 54)
Input matrix must be numeric.
Error in clipboard (line 56)
stuff = mat2str(stuff);
Can I get the output strings to the clipboard easily instead of use mouse select...copy...
Thanks!
add:
Thanks,yuk! Copy the DISP representation is what I wanted.
but could I get something in the clipboard like this after I run the command toString1(rng):
>> rng
ans =
Type: 'twister'
Seed: 11284109
State: [625x1 uint32]