--> atomsInstall("edflib")
EDFlib is a programming library for C/C++ to read/write EDF+/BDF+ files. EDF means European Data Format. BDF is the 24-bits version of EDF. This is a gateway to load/write the EDF+/BDF+ files directly from scilab.
Upload date : 2010-06-25 09:52:03 MD5 : b8c17ca90c7816efdba9a1b581a4a5e7 SHA1 : c9bb737184ef26e2f158567ab01c2c2118543fd9 Downloads : 569 File list
Linux 32-bit Automatically generated by the atoms compilation chain
Upload date : 2010-06-28 09:18:08 MD5 : 9e1f58c270a69c60c06b38de67971d3f SHA1 : 11ccfce191ab03c1cca7576e930996b706a706e8 Downloads : 598 File list
Windows 32-bit Automatically generated by the ATOMS compilation chain
Upload date : 2010-06-28 09:18:48 MD5 : 00e08a9a533ecbc60a631f0e2f8dedfd SHA1 : 9a94de243e5ee7f0e72fcd380701d83073275cea Downloads : 186 File list
Windows 64-bit Automatically generated by the ATOMS compilation chain
Upload date : 2010-06-28 09:31:51 MD5 : b060ead9e6fc95b925f92d11222fca51 SHA1 : 46a38790afdb01dd5167d7246da07c55d0c00e2b Downloads : 546 File list
MacOSX version Automatically generated by the atoms compilation chain
Upload date : 2010-06-28 09:24:45 MD5 : 69380c3582a3b2769a5308ed5b303e3e SHA1 : cd70f0da83ee6b3ea9ac6417c1e03a6c736b9325 Downloads : 567 File list
Linux 64-bit Automatically generated by the atoms compilation chain
Upload date : 2010-06-28 09:19:30 MD5 : 16dcde71b77418eb0c98eb26e921981e SHA1 : 302087a2361430272b2fd17d4e7055d70eb9ea1c Downloads : 934 File list
On Windows with Visual Studio, this module can not build edflib.c edflib.c(381) : error C2143: syntax error : missing ';' before 'type' edflib.c(387) : error C2065: 'annot' : undeclared identifier edflib.c(387) : warning C4047: '=' : 'int' differs in levels of indirection from 'edf_annotationblock *' edflib.c(389) : error C2065: 'annot' : undeclared identifier edflib.c(389) : error C2223: left of '->next_annotation' must point to struct/un ion edflib.c(393) : error C2065: 'annot' : undeclared identifier edflib.c(393) : error C2065: 'annot' : undeclared identifier edflib.c(393) : error C2223: left of '->next_annotation' must point to struct/un ion if edflib.c is a C Ansi file, variable must be defined at beginning of a C block move file line 381 to line 198 sci_edf_get_patient_additional.c(121) add line 29: char ** pstData = NULL; and line 121 pstData = (char**)malloc(sizeof(char*) * Rows_out * Cols_out); sci_edf_get_admincode.c (121) same thing sci_edf_get_birthdate.c(121) sci_edf_get_equipment.c(121) sci_edf_get_gender.c(121) sci_edf_get_patientcode.c(121) sci_edf_get_patientname.c sci_edf_get_technician.c ... Your code could be factorized ;) Allan
> On Windows with Visual Studio, this module can not build > edflib.c is meant to be used with GCC on Linux or MinGW on windows.
Why this limitation ? problem is not only on edflib.c but on all your gateway Please fix theses files if you want to a package on Atoms Do no hesitate if you need my help about this windows port. Allan
"MS visual C compiler has not been tested but should work." http://www.teuniz.net/edflib/ Allan
I changed the edflib.c and all other gateway files. Can you try to compile the toolbox using MS visual C compiler. Holger
Hi, Thanks you It seems to build and works on Windows Allan ->exec loader.sce -->// This file is released into the public domain -->// Generated by builder.sce: Please, do not edit this file -->// -->try --> v = getversion('scilab'); -->catch --> warning('Scilab 5.0 or more is required.'); --> return; -->end; -->// ==================================================================== -->root_tlbx = get_absolute_file_path('loader.sce'); -->exec(root_tlbx+'etc\'+'edflib.start'); Start edflib toolbox Load macros Load gateways Load help Load demos -->// ==================================================================== -->clear root_tlbx; -->// ==================================================================== edf_get_startdatetime(filename) 2010. 6. 24. 16. 31. 16. edf_get_patientname(filename) holger edf_get_patientcode(filename) code0 edf_get_gender(filename) Male edf_get_birthdate(filename) 01 jan 2000 edf_get_patient_info(filename) additianal edf_get_admincode(filename) admincode edf_get_technician(filename) tec2 edf_get_equipment(filename) device 3 edf_get_recording_info(filename) dasf