[scilab-Users] shared library

azerty azerty end48war at yahoo.fr
Thu Sep 22 15:55:53 CEST 2011


Hi,

Thak Mike, it could be a good idea, I will give a look at this solution. It means that  I have to develop a special parameter file format and the corresponding parser.
But as I use these C functions in XCos, when can I load the new parameters?

Regards,
Benoit


________________________________
De : Mike Page <Mike at Page-One.Waitrose.com>
À : users at lists.scilab.org
Envoyé le : Mercredi 21 Septembre 2011 10h42
Objet : RE: [scilab-Users] shared library


 
Hi 
Benoit,
 
I had 
a similar problem.  I created the library with a fixed (default) parameter 
file and had a function to read a separate configuration file that overwrites 
the defaults.  That worked for me - maybe it might solve your problem 
too?
 
HTH
Mike.
 
-----Original Message-----
>From: azerty azerty  [mailto:end48war at yahoo.fr]
>Sent: 21 September 2011  09:37
>To: users at lists.scilab.org
>Subject: [scilab-Users]  shared library
>
>
>Hi,
>
>
>I've got a problem creating C code shared libraries under Scilab. I've  got several functions separated in several .c files. Another .c file contains  all the parameters used in my functions.
>I'd like to distribute my functions in one library (closed) and leave the  file with parameters accessible (to be able to modifiy these parameters to  make several tests). I can't find a solution to create the library without the  parameter file and compile the parameter file separately and link everything  together.
>Any idea would be appreciated.
>
>
>Best regards,
>Benoit Lalande
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110922/005cc9cd/attachment.htm>


More information about the users mailing list