simulink undefined funciton or variables
3 views (last 30 days)
Show older comments
Avnish Patel
on 18 Oct 2019
Commented: Avnish Patel
on 19 Oct 2019
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?
0 Comments
Accepted Answer
Fangjun Jiang
on 18 Oct 2019
It is a "Mux" block or a "Bus Creator" block.
3 Comments
Fangjun Jiang
on 19 Oct 2019
You just need to assign the variable in the base workspace, e.g. mgk=1;
More Answers (0)
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!