Unable to read file 'axis'. No such file or directory.

Hello everyone. I just have installed Matlab R2020b in a new computer. I have tried to run an older file, and I get the following error
Unable to read file 'axis'. No such file or directory.
I have downloaded all the addons avaiable, so I don't understand why this is happening. Can someone tell me why I cannot load the file?
Regards.
Jaime

 Accepted Answer

Can you share more of your code?
Axis is a built-in matlab function, but perhaps it has been overwritten by a local variable?
  • in your Command Window, type clear axis and press Enter
  • If that doesn't work, try restarting MATLAB

1 Comment

Hello. Thanks for the answer. You are completely right. I had a variable called axis from before in memory. I have managed to fix this.
Regards.
Jaime.

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2020b

Community Treasure Hunt

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

Start Hunting!