[問題] simulink已回收

看板MATLAB作者 (Derek Jeter)時間16年前 (2009/10/16 18:13), 編輯推噓1(102)
留言3則, 1人參與, 最新討論串2/3 (看更多)
http://i.imagehost.org/0740/simulink.jpg
我把圖接好後模擬 但是出現下面這樣的問題 其中v=5sin(1000t) >> plot(t,i) ??? Error using ==> plot Not enough input arguments. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.42.102.240

10/16 21:40, , 1F
請把 To Workspace 的 save format 改成 Array.
10/16 21:40, 1F

10/16 21:42, , 2F
不然得用 plot(t.signals.values, i.signals.values);麻煩
10/16 21:42, 2F
Warning: Unable to reduce the step size without violating minimum step size of 0.001 for 2 consecutive times at time 9.993599869928353. Continuing simulation with the step size restricted to 0.001 and using an effective relative error tolerance of 0.001187745196824594, which is greater than the specified relative error tolerance of 0.001. This usually may be caused by the high stiffness of the system. Please check the model 'untitled' or increase the Max consecutive min step size violation parameter in the solver configuration panel. 不好意思..又出現新的問題了 我不太會設定一些有的沒的 圖畫好後,其他東西還要設定嗎 ※ 編輯: sarah21 來自: 114.42.102.240 (10/16 22:25)

10/16 22:30, , 3F
可以設定成 固定步階,其實這這個對你的系統來講沒差
10/16 22:30, 3F
文章代碼(AID): #1As4TU4l (MATLAB)
文章代碼(AID): #1As4TU4l (MATLAB)