Save multi-dimensional array to XML

Hi guys,
I have a small 12x4 matrix as a form of multi-dimensional array of integers, and I would like to know what would be the best way to save it in a preset. I currently use XML to handle that.

Thanks!

I prefere JSON over XML to store and load presets, especially as there are so many libs to read/write JSON, even Matlab has a JSON interface :slight_smile:

Here are a couple of methods I wrote for it, especially the one converting a Matrix object to a var.

At the end of that file, there’s the writeConfigurationToFile method along with an example code how to use it.

Have fun :slight_smile:

1 Like

Thank you very much, Daniel.