simulink undefined funciton or variables

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?

 採用された回答

Fangjun Jiang
Fangjun Jiang 2019 年 10 月 18 日

0 投票

It is a "Mux" block or a "Bus Creator" block.

3 件のコメント

Avnish Patel
Avnish Patel 2019 年 10 月 18 日
Thanks for your response.
And do you know how to fix those undefined function or variables?
Fangjun Jiang
Fangjun Jiang 2019 年 10 月 19 日
You just need to assign the variable in the base workspace, e.g. mgk=1;
Avnish Patel
Avnish Patel 2019 年 10 月 19 日
Last question, How do I add equations on the wires? I can set the variables but not entier equations.
Thanks again

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulation についてさらに検索

製品

リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by