Matlab seems to be using an old version of the code

4 visualizaciones (últimos 30 días)
John Hey
John Hey el 12 de Abr. de 2021
Comentada: John Hey el 12 de Abr. de 2021
When running a Matlab script I got an error message about the rng function. I deleted that line in the code, but when I run it, it refers to that same error but the line number is non-existent in the new (revised, edited and saved) script. How can that be?
John Hey
  2 comentarios
Stephen23
Stephen23 el 12 de Abr. de 2021
Where is the file saved? Is that location on the MATLAB Search Path?
Have you called WHICH to check which file is being called?
Does the file contain any calls to CD, PATH, etc.?
John Hey
John Hey el 12 de Abr. de 2021
Thanks. I have now solved the problem. The error message was misleading.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by