"undefined function or variable XXXX"

93 views (last 30 days)
Suhas Chethan
Suhas Chethan on 4 Jan 2017
Answered: Jordan Ross on 9 Jan 2017
while execution simulink block on r pi, it shows error that "undefined function or variable XXXX" in the matlab function.
  2 Comments
Jan
Jan on 4 Jan 2017
What is your question? The message looks very clear.
Brandon Eidson
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.

Sign in to comment.

Answers (1)

Jordan Ross
Jordan Ross on 9 Jan 2017
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

Tags

Community Treasure Hunt

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

Start Hunting!