[Scilab-Dev] Toolbox guide question

Guilherme Kunigami kunigami at gmail.com
Fri Jul 10 07:36:35 CEST 2009


Hi again,

I found a good example in:
/scilab_doc/toolbox_guide/toolbox_example/

The readme.txt there explains how to use the toolbox from scilab :)

I think this toolbox example could be cited in here:
http://www.scilab.org/product/index_product.php?page=toolbox_guide

Thanks,

On Wed, Jul 8, 2009 at 9:11 PM, Guilherme Kunigami <kunigami at gmail.com>wrote:

> Hi Sylvestre,
>
>
> On Fri, Jul 3, 2009 at 7:07 AM, Sylvestre Ledru <
> sylvestre.ledru at scilab.org> wrote:
>
>> Hello Guilherme,
>>
>> First, I don't know if you are aware of it  but you will find a
>> toolbox_skeleton in Scilab installation (or source tree).
>> This is showing how it is done.
>
>
> I didn't know that, thanks. I tried to compile it (using make) and then use
> it from Scilab. In the case I tried to call 'scilab_sum(4, 3)', which is the
> function define at 'scilab_sum.sci', but this function is not recognized.
>
> What am I missing? I'm not sure on how to do that.
>
>
>>
>>
>> Le jeudi 02 juillet 2009 à 23:46 -0300, Guilherme Kunigami a écrit :
>> > Hi all,
>> >
>> > I was following this tutorial:
>> > http://www.scilab.org/product/index_product.php?page=toolbox_guide  to
>> > develop a sample toolbox. I'm not sure how to proceed to test this
>> > module, calling functions at /macro/ from Scilab for example. Do I
>> > have to write my own Makefile?
>> If you are dealing with macros, you don't to write a makefile.
>>
>> If you are dealing with native code (C, fortran, C++...), you can do the
>> work thanks to the ilib_* functions.
>> Thee functions are creating Makefiles, detection compilers, building and
>> loading native code.
>>
>> You will find some here:
>>
>> http://gitweb.scilab.org/?p=scilab;a=tree;f=scilab/modules/dynamic_link/tests/unit_tests;h=c56fa2616ece7a8a2c24c3abb0aaf7ed4e699814;hb=HEAD
>> ilib_for_link*.tst
>> ilib_build*.tst
>>
>> These function calls should be placed in the builder.sce.
>
>
> I'm not sure if I understood what was said above: If I put these functions
> in builder.sce, I just need to execute the script to generate the Makefile
> and other stuff?
>
> Thanks,
>
>
>>
>>
>> Don't hesitate if you have any other questions.
>>
>>
>>
>> Sylvestre
>>
>>
>>
>
>
> --
> Guilherme Kunigami
>



-- 
Guilherme Kunigami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20090710/84efbda0/attachment.htm>


More information about the dev mailing list