% Out=vi(a,b) % Usage: This the command for using gvim in matlab shell % Just type vi as you are in a normal shell. % % Copyright (c) Tony X. Han 05/04/2006 % Please send email to: xuhan-AT-ifp.uiuc.edu to report bugs. function Out=vi(a,b) if nargin == 0 dos('gvim'); elseif nargin == 1 dos(['gvim ' a]); else %nargin == 2 dos(['gvim ' a ' ' b]); end