Why does tab complete not work for user written functions that except filenames?
Mostrar comentarios más antiguos
Why does tab complete not work for user written functions that except filenames?
function testFunction(file)
disp(file)
end %end function
Call the above function with a file. While entering the file name, try to tab complete it. It won't work. Why not?
Respuesta aceptada
Más respuestas (1)
David Sanchez
el 14 de Ag. de 2013
0 votos
The user defined function has to be saved on the current directory or its path set on matlab paths. Matlab will not autocomplete a function name of a function located in a directory different to the working directory.
1 comentario
Jason Nicholson
el 14 de Ag. de 2013
Categorías
Más información sobre Debugging and Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!