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 CenterFile Exchange에서 Simulation and Analysis에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by