[scilab-Users] Re : [scilab-Users] shared library

Mike Page Mike at Page-One.Waitrose.com
Thu Sep 22 16:20:25 CEST 2011


Sorry - I have never used SciCos, so I can't help there.
I used XML for my configuration.  You can find XML parser libraries on Sourceforge and elsewhere.  But you are right, it does make a simple idea into a complicated piece of coding.

Mike.

  -----Original Message-----
  From: azerty azerty [mailto:end48war at yahoo.fr]
  Sent: 22 September 2011 14:56
  To: users at lists.scilab.org
  Subject: [scilab-Users] Re : [scilab-Users] shared library


  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/2e9408f0/attachment.htm>


More information about the users mailing list