Implementing External force in Simscape model

1 回表示 (過去 30 日間)
Mohamed Amine BELYAMANI
Mohamed Amine BELYAMANI 2020 年 8 月 8 日
回答済み: Aman Vyas 2020 年 8 月 13 日
Hello,
I'm working on a Simscape model, and I'm trying to implement an external force to my model.
I keep getting this error when running my simulation.
Can you please help find the reason why.
Thank you

回答 (1 件)

Aman Vyas
Aman Vyas 2020 年 8 月 13 日
Hi,
The input to the "External force to torque" block is [3*1] in size as it contains all the three components Fx, Fy, Fz in it.
Since the signal that is coming from the product block is [1*1] or scalar, hence there is width inconsistency and thus that block is not accepting the values.
The possible workaround is either you choose single component Fx, Fy, Fz from the properties of the block else, replicate the product block thrice and send it as an array.
For more info, you can take a look at this documentation page:
Hope it helps!

カテゴリ

Help Center および File ExchangeFoundation and Custom Domains についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by