[問題] 關於simulink中的 workspace的疑問已回收
如果想從m檔案中 傳入一個直進去simulink裡面
from workspace應該可以有這個功能吧?
假設我想傳workspace中的a=2 進入simulink裡面
就會出現error如下:
The matrix must have two dimensions and at least two columns. Complex
signals of any data type and non-double real signals must be in structure
format. The first column must contain time values and the remaining columns
the data values.
爬過有關傳值進入simulink的文章
from workspace一定要傳array才行嗎?
還是傳入常數應該用別的function而不是用from workspace呢?
謝謝大家
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.217.23
推
07/03 04:40, , 1F
07/03 04:40, 1F
MATLAB 近期熱門文章
PTT數位生活區 即時熱門文章