---
name: "xsil2graphics"
section: "1"
platform: "linux"
package: "xmds"
version: "1.6.6-7"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/xsil2graphics"
---

# xsil2graphics(1)

xsil2graphics - generate scripts to load xsil output data files xsil2graphics \[options\] \<xsil\_file\> 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') **-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 **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 Originally written by Greg Collecutt Maintained by Paul Cochrane with code contributed by Joe Hope No known bugs. [*xmds*(1)](/xmds/1.md), [*loadxsil*(1)](/loadxsil/1.md) 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.
