Why does tab complete not work for user written functions that except filenames?
Show older comments
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?
Accepted Answer
More Answers (1)
David Sanchez
on 14 Aug 2013
0 votes
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 Comment
Jason Nicholson
on 14 Aug 2013
Categories
Find more on Debugging and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!