我正在寫一個MATLAB程序從用戶的標題是對圖形設置的標題...MATLAB - 使用一個字符串來設置一個圖形
t = input('Please enter a title for the graph: ', 's');
然後我想設置我的陰謀的標題爲t
。我似乎無法得到它的工作...
title(t) %# returns ??? Index exceeds matrix dimensions.
非常感謝您的幫助!
我正在寫一個MATLAB程序從用戶的標題是對圖形設置的標題...MATLAB - 使用一個字符串來設置一個圖形
t = input('Please enter a title for the graph: ', 's');
然後我想設置我的陰謀的標題爲t
。我似乎無法得到它的工作...
title(t) %# returns ??? Index exceeds matrix dimensions.
非常感謝您的幫助!
這是爲什麼downvoted,我是無法理解...... +1反擊 – Rook