the issue is ...simulink sends same data thrice to the matlab Interpreted function before the lines in the function gets executed... adding MEMORY block between the simulink and MATLAB INTERPRETED function solved the issue.
My sampling time is 0.0001 but I am getting 30000 samples for one second , in my simulation what might be the issue? Please help to find the error.
2 ビュー (過去 30 日間)
古いコメントを表示
kintali narendra
2016 年 6 月 6 日
回答済み: kintali narendra
2016 年 6 月 15 日
My simulation has fixed time size pf 0.0001 but I am getting 30000 samples for one second,I am using ODE3 solver. I also using a clock in my simulation which is also sampled to 0.0001 using ZERO ORDER HOLD, the results of simulink are connected to INTERPRETED FUNCTION MATLAB.
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!