Step-by-step:
- Edit Tc.xml by the following command: edit(fullfile(matlabroot,'toolbox/local/TC.xml'))
- Add function (key binding) and FILE or DIR inside TC.xml
<binding name="wavread" ctype="FILE"/>If TC.xml is read only (R2013a), change the permission by using chmod,
sudo chmod a+rwx /usr/local/MATLAB/R2013a/toolbox/local/TC.xmlwhen your root password when prompted, it is for Unix and Linux-based OS.
It works on Matlab R2009 and 2013a and this tricks save our fingers for repetition and wrong typing.
Matlab Tab-completion |