knob data input add in workspace for simulink , simscape and multibody

조회 수: 6 (최근 30일)
Ali Mukhtar
Ali Mukhtar 2022년 10월 20일
답변: Steve Miller 2022년 11월 19일
i have 3 combine models simscape , simulink and multibody... there are 3 variables im using M, B and k i want to get input from 3 knobs save them workspace as variable name and use in above 3 systems ...

답변 (1개)

Steve Miller
Steve Miller 2022년 11월 19일
As long as you have them defined as MATLAB variables in your workspace, you can use those variables in Simulink, Simscape, and Simscape Multibody blocks.
Look at model
>> sm_single_pendulum_sl
MATLAB variable L (defined in the Model Workspace) is used in both the Simulink and Simscape Multibody models.
--Steve

카테고리

Help CenterFile Exchange에서 Simscape Multibody에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by