"undefined function or variable XXXX"
Show older comments
while execution simulink block on r pi, it shows error that "undefined function or variable XXXX" in the matlab function.
2 Comments
Jan
on 4 Jan 2017
What is your question? The message looks very clear.
Brandon Eidson
on 6 Jan 2017
Suhas, please provide more details as to what your workflow is, what your end goal is, and if there are any more details to the error message.
Answers (1)
Jordan Ross
on 9 Jan 2017
0 votes
Hello Suhas,
The most likely cause of this is that you have a variable that was previously defined in the workspace but has since been cleared. Ensure that the variable you are working with does in fact exist.
Categories
Find more on Simulink Functions 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!