Co-Simulation with NXMotion and Matlab/Simulink

13 次查看(过去 30 天)
I created three different input data in my Simulink model to use in the NXMotion Plant Block as Plant Input. However, NXMotion Plant Block uses Mux block for input data to combine them to a single signal. Is there any way to have my inputs as separate signals?
Thanks,

回答(1 个)

Yukthi S
Yukthi S 2024-7-16
Hi Yazdan,
To propagate separate signals as inputs to the NXMotion Plant block, a Bus Creator block available in Simulink can be used and I assume that the latest version of MATLAB is being used, as no specific version information was provided.
1. Firstly, configure the Bus creator block to have 3 input ports and connect the input signals to it.
2. Then connect the Bus creator block output to the input of NXMotion Plant block, assuming NXMotion Plant block is configured to accept bus signals as input.
The following documentation can be referred to know more about Bus creator block:
Hope you will find this helpful.

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by