Ansys Motion to Simulink Interface Problem

7 ビュー (過去 30 日間)
Betul
Betul 2024 年 12 月 3 日
コメント済み: 현민 2025 年 5 月 11 日
Hi,
I have an MBD model in Ansys Motion with multiple inputs and outputs. I've created an M-file for this model using MATLAB co-sim. I want to import this into the MATLAB/Simulink environment, where I may need to design a controller later. This means I need to be able to see and control the inputs and outputs within the Simulink environment.
I'm using the 'mbdlib' library to import my M-file into Simulink, but I'm getting the error shown in the attachment within the S-Function block of the MBD Solver.
Also, the model indicated by the colored blocks is located inside the MBD block. Should I import the M-file into the "Dynamic Model" section here?
Could you please help me with this issue?
Best regards.
  1 件のコメント
현민
현민 2025 年 5 月 11 日
how did u solve this problem? I also have similar problem.
Please tell me how are you doing

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by