knob data input add in workspace for simulink , simscape and multibody
6 次查看(过去 30 天)
显示 更早的评论
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 ...
0 个评论
回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!