Strange Undefined variable or control error for a function
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
Hi, I created a control file that calls on three separate functions to perform a task. They are all in a single directory. I copied and pasted all of these four files to a different directory to do something different and they work fine. However returning to the original directory, I try to run the code from the 'Control' file and I get an 'undefined variable or function 'control' ' error. I've tried renaming all of the files and it still doesn't work. They are all in the same directory as I have used 'which' to make sure everything is okay.
Does anyone have any insight into what to do here? I have made no changes to the actual code since copying and pasting.
Many Thanks
Jack
Respuestas (1)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!