Dunno
Dunno

Reputation: 135

Call a scilab function

I'm using scilab on cloud

function c = example(a,b)
    c = a*b
endfunction

How can I call it? I tried exec(example(3,2)) without success

Upvotes: 0

Views: 60

Answers (1)

Dunno
Dunno

Reputation: 135

This solution seems to work although obviously in this case I can't call the file before calling the function.

result = example(3, 2)

Upvotes: 1

Related Questions