Tab Completion Hack

There is a way to modify Matlab's functionality to enable tab completion for user-defined functions. If you are interested in enabling tab completion when you call dynare, do the following

  1. Make a backup copy of the TC.xml file, located in matlabroot/toolbox/local

  2. Add the following lines to the bottom of TC.xml, between </binding> and </TC>

      <binding name="dynare">
        <arg argn="1" ctype="FILE"/>
        <arg argn="2:15" ctype="VAR" value="noclearall debug notmpterms onlymacro nolinemacro warn_uninit console cygwin msvc parallel_slave_open_mode parallel_test savemacro parallel conffile"/>
      </binding>
  3. Save TC.xml

  4. Restart Matlab

DynareWiki: TabCompletionHack (last edited 2011-03-04 15:23:29 by HoutanBastani)