From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!feed.news.qwest.net!mpls-nntp-03.inet.qwest.net!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!s09-01.readnews.com!not-for-mail X-Trace: DXC=mI[08eS8]2Mjc8TPR\0bkD[3OhcoN[H0@X44`8^\]>7J8DHB_I2k0T@ Newsgroups: comp.lang.ada Subject: Re: Ada library to read/write matlab files? Message-ID: <20131016213235.789953a0@lufsen.sandat.dyndns.org> References: <75105857-fe2f-4437-9214-f8a154432a1a@googlegroups.com> X-Newsreader: Claws Mail 3.9.0 (GTK+ 2.24.8; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 79f2e857.ngroups.net Xref: news.eternal-september.org comp.lang.ada:17443 Date: 2013-10-16T21:32:35+02:00 List-Id: On Wed, 16 Oct 2013 08:33:16 -0700 (PDT) mockturtle wrote: One suggestion could be: * get cdf35_0-dist-all.tar.gz from http://cdaweb.gsfc.nasa.gov/pub/software/cdf/dist/cdf35_0/w32/src_distribution/ * Compile and install that library * make a small c-file containing "#include " * compile that file with g++ -c -I 'path to cdf includes' -fdump-ada-spec * and magic there is an cdf_h.ads. Given that the gcc you are using is modern. /Per > Dear.all, > the subject says everything. > Are you aware of an available library to read/write matlab (binary) > files? I tried googling around a bit (just a bit) without finding > anything. As an alternative, something to read/write HDF or CDF (not > netCDF since it requires a specific matlab package [if I remember > correctly...]). > > I would like something "independent", that is, interfacing with other > libraries (e.g., matlab API) is something I would rather avoid. > > Regards > > Riccardo