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?

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 18 de Oct. de 2019

0 votos

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

3 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulation en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 18 de Oct. de 2019

Comentada:

el 19 de Oct. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by