Matlab R2015a Autocomplete does not work for variables when calling a function
4 views (last 30 days)
Show older comments
Sara Brunner
on 17 Jul 2015
Commented: Sara Brunner
on 21 Jul 2015
The autocomplete (tab) works fine in the command window for variable names. If I type
>>myvariab
and hit tab, it will autocomplete to
>>myvariablename
However, if I do the same within a function call, like
>>plot(myvari
I get the little message "No Completions Found" when I press the tab-key.
I recently changed to Windows 8.1. and installed Matlab R2015a. I never had issues with autocomplete on Windows 7 and Matlab R2013.
Can anybody explain me how to turn on the autocomplete inside function calls?
0 Comments
Accepted Answer
Abhishek Pandey
on 20 Jul 2015
Hi Sara,
I tried to reproduce your issue on the same configuration (R2015a on Windows 8.1), but I was not able to. But here are a few suggestions that might help you.
1. To make sure that the issues that you are facing are not resulting from MATLAB code path, execute the following commands in MATLAB command prompt and retry using tab completion.
restoredefaultpath
rehash toolboxcache
If the issue still persists after the execution of the commands above, try the next suggestion.
2. Execute the following command:
which –all strsplit
There should only be one entry for “strsplit”. If there are multiple entries, the function might be in conflict with another one of the same name from a different toolbox not provided by MathWorks. Uninstalling this toolbox or renaming the function could fix this issue.
3. Tab completion can also stop working if your 'TC.xml' file has become corrupted or was incorrectly modified. This can sometimes happen when you install third-party toolboxes (those not made by MathWorks) into MATLAB. To fix the problem, restore your 'TC.xml' file back to its original state.
To determine the installation location of your 'TC.xml' file, execute the following line of code at the MATLAB command line:
which TC.xml
If you need a working copy of 'TC.xml' that corresponds to your particular version of MATLAB, you can contact technical support.
I hope this helps!
- Abhishek
More Answers (0)
See Also
Categories
Find more on Install Products 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!