Save image labels from VolumeSegmenter as .mat file version 7.3

6 次查看(过去 30 天)
I generated a segementation of a 3-D pixel array using the MATLAB Volume Segementer tool for a relatively large file (>2 GB). I now want to save it as a .mat file . Unfotruantely, from what I can tell, the VolumeSegementer apps automatically saves using the default .mat file type, which can't handle files this large. Normally I would choose the 7.3 version fo the .mat file for these larger images, but I am unsure how to do that with the VolumeSegmenter tool.

回答(1 个)

Joshua Prince
Joshua Prince 2024-2-8
I was able to find workaround, but a "better" answer would be appreciated.
I saved the labels as a workspace variable called 'data.mat' (the label was 'data') which I then saved using the command window via:
save('data.mat','data','-v7.3')
This isn't ideal as my data sizes run up agaisnt the RAM of my machine, and adding extra variables to my workspace is to be avoided (why I am saving as .mat files in the first place).

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by