User`s guide

set (env collection object)
set(tgs)
ans =
CCompiler: {2x1 cell}
CompilerPath: {}
DefaultTarget: {}
NumTargets: {}
Change the p roperty CCompiler to Watcom.
tgs.set('CCompiler','VisualC')
or
set(tgs, 'CCompiler','VisualC')
As an alternative to the method set, use the target object property
CCompiler. In the MATLAB window, type
tgs.CCompiler ='VisualC'
See Also xPC Target target object method get (env c olle ction object)
Built-in MATLAB functions get and set
18-104