[scilab-Users] Returning matrix of unknown dimensions from C library
jasper van baten
jasper at amsterchem.com
Mon Nov 21 14:34:44 CET 2011
Antoine,
One solution is make a script that calls two functions in your C
library. The first external function call returns the dimensions, the
second one gets called with an allocated matrix of the proper size and
sets the data,
Best wishes,
Jasper.
On 11/21/2011 14:29, Antoine Monmayrant wrote:
> Hi everyone,
>
> I am trying to extend scilab using a C library (libtiff to read 16bits
> tiff images).
> I have a problem using ilib_for_link/call:
> Is there a way to call a C function that returns a matrix without
> knowing a priori its width and height?
>
> Cheers,
>
> Antoine
>
>
More information about the users
mailing list