Undefined function or variable 'matlabrc' This topic has 0 replies, 2 voices, and was last updated 7 years ago by Anand Joshi. Viewing 0 reply threads Author Posts October 23, 2018 at 1:25 pm #1532 Anand JoshiModerator Are you running win 7 by any chance? There seems to be some discussion on this at https://www.mathworks.com/matlabcentral/answers/98050-why-do-i-get-an-error-saying-undefined-function-or-variable-matlabrc-when-executing-a-program-th Please try deleting the folder mentioned there: (C:\Users\[username]\AppData\Local\Temp\[username]\mcrCache[version]) Author Posts Viewing 0 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In