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

2 views (last 30 days)
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?

Accepted Answer

Cris LaPierre
Cris LaPierre on 5 Nov 2020
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
Jaime De La Mota Sanchis
Jaime De La Mota Sanchis on 5 Nov 2020
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.

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!

Translated by