simulink undefined funciton or variables

3 views (last 30 days)
I am doing a simulink project of robotic arm and this is my diagram so far.
You see the red color certain blocks, it says unrecognized function or variable. How do I fix this?
The bottom image shows what my diagram will look like and I can't seem to find big black box anywhere which connest my 4 outputs, x1,x2,x3,x4.
Any help please?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 18 Oct 2019
It is a "Mux" block or a "Bus Creator" block.
  3 Comments
Fangjun Jiang
Fangjun Jiang on 19 Oct 2019
You just need to assign the variable in the base workspace, e.g. mgk=1;
Avnish Patel
Avnish Patel on 19 Oct 2019
Last question, How do I add equations on the wires? I can set the variables but not entier equations.
Thanks again

Sign in to comment.

More Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!