G-Node / matlab-odml

odml support for matlab
www.g-node.org/odml
Other
1 stars 2 forks source link

An alternative set of functions to manipulate odML files in MATLAB #2

Closed fstj closed 9 years ago

fstj commented 9 years ago

Hi,

I have finalized a set of functions to handle odML files in MATLAB using the odML java library. As you can see, there isn't much left in common with the files in the original matlab-odml repository. I changed the naming convention of the functions, and added a function to display the odml data (function odml_disp), and a function to find a section or a property by name in the odml data (funcion odml_find). I gave the choice to represent the odML data as MATLAB structure arrays in two different ways ('tree' and 'odml') in the loading function, see the help of odml_load for details.

I am not familiar with java and didn't manage to compile a version of the odML java library that would work both for java 1.6 and 1.7. So to accommodate different versions of MATLAB, I made two versions of the odML java libary available and choose the right one according to the version of java available in MATLAB in odml_config. I don't know if a better solution is possible to solve this issue.

As my code is very different from the original one, I'm not sure that the odML projects wants to make a merge as is. Anyway, I wanted to let you know that my code is available. It is at your disposal and uses the same licence as the original project. So you can do what you feel is the most appropriate: merge the code, copy and adapt part of it, or do nothing.

jgrewe commented 9 years ago

Hi Florent, thanks al lot, I will check your pr soon!