Most built in functions are identical in Matlab and Scilab. Some of them have a slightly different syntax. Here is a brief, partial list of commands with significant different syntax.
Matlab Scilab "equivalent"
all and
any or
balance balanc
clock unix('date')
computer unix_g('machine')
cputime timer
delete unix('rm file')
dir unix_g('ls')
echo mode
eig spec or bdiag
eval evstr
exist exists + type
fclose file('close')
feof
ferror
feval evstr and strcat
filter rtitr
finite (x < %inf)
fopen file('open') fread read fseek file ftell fwrite writeb global home isglobal isinf(a) a == %inf isnan(a) a ~= a isstr(a) type(a) == 10 keyboard pause + resume lasterr lookfor apropos more lines pack stacksize pause halt qz gspec+gschur randn rand rem modulo setstr code2str strcmp(a,b) a == b uicontrol uimenu getvalue unix unix_g version which whereis nargin [nargout,nargin]=argn(0) nargout
You will get a detailed tutorial on Scilab from: http://www-irma.u-strasbg.fr/~sonnen/SCILAB_HELP/frame.html
querrymail@gmail.com
Thursday, 23 April 2009
Built-in Functions in Scilab
Posted by Sukunath B A at 4/23/2009 01:21:00 pm
Labels: matlab, Scilab, Technical-Electronics
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment