Co-Simulation with NXMotion and Matlab/Simulink

13 views (last 30 days)
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,

Answers (1)

Yukthi S
Yukthi S on 16 Jul 2024
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.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!