xsil2graphics

Langue: en

Version: 2004-06-21 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

xsil2graphics - generate scripts to load xsil output data files

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.

Matlab

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

Scilab

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.

SEE ALSO

xmds(1), loadxsil(1)

http://www.xmds.org

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 GNU 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 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

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