Output 3D physical signal using simscape component

6 ビュー (過去 30 日間)
Roland Vet
Roland Vet 2019 年 5 月 6 日
回答済み: Steve Miller 2022 年 11 月 23 日
I'm calculating the motion of a joint using a Simscape custom component, which includes the two derivatives of the motion (so the position velocity and accelaration.) I'm however having issues exporting these into the joint, without enabling the 1D->3D filter.
In otherwords, the physical signal I'm outputting is 1D (only position) but I want it to be 3D (position velocity and accelaration). Is this possible?
Current output scheme:
outputs
p_A = {0, 'm '}; % p_A:left
end

回答 (1 件)

Steve Miller
Steve Miller 2022 年 11 月 23 日
Yes. You can define position, velocity, and acceleration as separate physical signals and output a vector of physical signals from your block. Please make sure these values are all exactly consistent.
--Steve

カテゴリ

Help Center および File ExchangeSimulation and Analysis についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by