Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 528 Bytes

File metadata and controls

12 lines (10 loc) · 528 Bytes

Scilab_API-Matrix-Multiplication

To build this code and load it to Scilab execute the following commands in scilab
Change the working directory of scilab to Scilab/share/scilab/contrib/toolbox_skeleton/sci_gateway.

files=["sci_foo.c"];
WITHOUT_AUTO_PUTLHSVAR = %t;
ilib_build('build_lib',['foo','sci_foo'],files,[]);
exec loader.sce

You can use the function "foo" for multiplication of two matrices.(After completing the above steps)
Example-
ans=foo([1,2],[1;2])