SYNOPSIS

xsil2graphics [options] <xsil_file>

DESCRIPTION

Utility program bundled with xmds, used to generate scripts that load simulation output data into either matlab (http://www.mathworks.com) or scilab (http://www.scilab.org), which are then used to manipulate the results further if necessary and then to present the results graphically.

\$1

To generate a matlab m-file, from the xsil file data_file.xsil use the command:

bash$ xsil2graphics data_file.xsil

or

bash$ xsil2graphics --matlab data_file.xsil

Then at the matlab command prompt:

>> data_file To generate a scilab script file, from the xsil file data_file.xsil use the command:

bash$ xsil2graphics --scilab data_file.xsil

Then at the scilab command prompt:

--> exec('data_file.sci')

OPTIONS

-m, --matlab generate matlab m-file script to load data from the xsil data file (the default option)

-s, -scilab generate scilab script file to load data from the xsil data file

-o, --outfile <out_file> specify an alternative output script filename to the default which is the input xsil filename with the .xsil extension changed to either .m for the matlab m-file or .sci for the scilab script file

EXAMPLES

bash$ xsil2graphics nlse.xsil

Generates the output nlse.m to load the data into matlab

bash$ xsil2graphics -m nlse.xsil

Also generates the output nlse.m but explicitly sets matlab to be the output format

bash$ xsil2graphics --scilab nlse.xsil

Generates the output nlse.sci to load the data into scilab

bash$ xsil2graphics --outfile nlse_new.m nlse.xsil

Generates the output nlse_new.m to load the data into matlab

AUTHORS

Originally written by Greg Collecutt

Maintained by Paul Cochrane with code contributed by Joe Hope

BUGS

No known bugs.

RELATED TO xsil2graphics…

xmds\|(1), loadxsil\|(1)

http://www.xmds.org

COPYRIGHT

Copyright (C) 2000-2004

Code contributed by Greg Collecutt, Joseph Hope and Paul Cochrane

This program is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the \s-1GNU\s0 General Public License for more details.

You should have received a copy of the \s-1GNU\s0 General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, \s-1MA\s0 02111-1307, \s-1USA\s0.