Phonon
Phonon

Reputation: 12737

Calling a custom function in Scilab

I'm fairly new to Scilab, and I'm trying to write a simple function and call it.

How can I write a function in a .sci file in some arbitrary directory and then call it? MATLAB does this automatically. I read a ton of posts talking about using "Execute->Load into scilab" and getf, but none of those are present in my version of Scilab (5.3.3). So how in the world can I do this?

Upvotes: 1

Views: 9451

Answers (1)

Sylvestre
Sylvestre

Reputation: 352

exec filelocation\yourFile.sci;

should do it

Upvotes: 4

Related Questions