How to use Simscape language to create a rope / cable?

3 ビュー (過去 30 日間)
Christopher
Christopher 2016 年 6 月 3 日
コメント済み: john dent 2016 年 7 月 7 日
Hi,
i want to use the Simscape language to create a block that represents a cable / rope. In other words: If the length is the maximum length, pulling force is transmitted. Pushing force is never transmitted.
I tried this:
equations
if (eps > 0)
f == (d^2/4*pi) * E * eps;
else
f == {0 'N'};
end
eps == ((l-l_0)/l_0);
v == l.der;
end
But it is not working and there is always an error msg (Failed to update switched linear model, due to system singularity in current configuration.). Any ideas why? Thank you in advance!
  2 件のコメント
Lei Gao
Lei Gao 2016 年 6 月 29 日
I have the same problem in SimMechanics when building up a model.
john dent
john dent 2016 年 7 月 7 日
Same problem here too

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating Custom Components and Libraries についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by