フィルターのクリア

Adams co-simuliation with Matlab/simulink have some problems

4 ビュー (過去 30 日間)
Allen Chiang
Allen Chiang 2016 年 3 月 3 日
回答済み: Peng Wang 2020 年 5 月 19 日
1.Firstly,when i set the language is C++,then in the simulink do the co-simulation ,we find that the model in Adams did anything.But when i use Fortran ,they can complete the simulation successfully.who can tell me why ? 2.secondly,in the adams i can use the velocity as the variable to the joint motion,but can't use the displacement as the variable.that means in the joint motion i can use VARVAL(velocity),but can't use VARVAL(displacement).why?

回答 (1 件)

Peng Wang
Peng Wang 2020 年 5 月 19 日
Hello, I met same questions during my co-simulation. Check the "simulation mode" in "adams plant" block. Be sure choose "discrete".
I don't know the deep reason of these errors. But this change actually make the difference in my work.
I read some books, articles or blog direct people to choose "continuous" as simulation mode. But in the officail "Help" page. Adams told us choose "discrete".

カテゴリ

Help Center および File ExchangeAutomotive についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by