From: Larry W. Virden on
On Jul 16, 12:20 am, "S-Y. Chen" <shenyeh_c...(a)hotmail.com> wrote:

>
> exec $comsol_cmd matlab -ml /nodesktop -ml /nosplash -mlr
> "antenna_COMSOL_01, exit"
>

I noticed you were executing matlib in your example. Are you aware of
a few Tcl extensions related to use of matlab? < http://wiki.tcl.tk/matlab
> mentions a couple. There are likely others.

Perhaps there's an extension which accounts for the situation you are
facing.