如何獲得matlab的輸出? 不整個輸出(我知道日記可以幫助)如何獲得在命令窗口中出現的matlab輸出
一個簡單的例子:
>> st = rng
st =
Type: 'twister'
Seed: 0
State: [625x1 uint32]
我要的是複製輸出到剪貼板。當我使用剪貼板功能,出現錯誤:
>> clipboard('copy', st)
Error using mat2str (line 54)
Input matrix must be numeric.
Error in clipboard (line 56)
stuff = mat2str(stuff);
我能得到的輸出字符串到剪貼板容易的,而不是用鼠標選擇... ...正在
謝謝!
添加:
謝謝,議員!複製DISP表示形式就是我想要的。
,但我能得到在剪貼板中這樣的事情我運行命令toString1(RNG)後:
>> rng
ans =
Type: 'twister'
Seed: 11284109
State: [625x1 uint32]