Why does tab complete not work for user written functions that except filenames?
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
David Sanchez
am 14 Aug. 2013
0 Stimmen
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 Kommentar
Jason Nicholson
am 14 Aug. 2013
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!