diff --git a/modules/c++/hdf5.lite/unittests/create_123_barfoo_catdog_cx.m b/modules/c++/hdf5.lite/unittests/create_123_barfoo_catdog_cx.m new file mode 100644 index 000000000..ef13cd6ec --- /dev/null +++ b/modules/c++/hdf5.lite/unittests/create_123_barfoo_catdog_cx.m @@ -0,0 +1,5 @@ +% https://www.mathworks.com/help/matlab/ref/h5write.html +h5create('123_barfoo_catdog_cx.h5', '/1/bar/cat/i', [10, 1]) +mydata = rand(10, 1); +h5write('123_barfoo_catdog_cx.h5', '/1/bar/cat/i', mydata) +h5disp('123_barfoo_catdog_cx.h5')