[Scilab-users] MacOS 10.8 Scilab function calls

A. Stolzenbach aurelien.stolzenbach at gmail.com
Wed Nov 14 12:16:17 CET 2012


Hi,I have approximatively the same problem exept I'm running scilab on Mac OS
X 10.7 (64 bits)

I made this simple function

// définition en ligne
function [x, y]=myfct(a, b)
x=a+b
y=a-b
endfunction
 and saved this in myfct.sci

when I try

-->exec(path+"myfct.sci")
 
it shows only

-->// définition en ligne

so i try 

-->[x,y]=myfct(1,2)
                 !--error 4 
Variable non définie : myfct

or

-->myfct(1,2)
           !--error 4 
Variable non définie : myfct

The path is right.
I'm working on some Crank-Nicolson scheme so my functions are more
complicated, and I didnt tried on my Linux computer at home.

Thanks



--
View this message in context: http://mailinglists.scilab.org/Scilab-users-MacOS-10-8-Scilab-function-calls-tp4024985p4025234.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list