Save image labels from VolumeSegmenter as .mat file version 7.3

6 views (last 30 days)
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.

Answers (1)

Joshua Prince
Joshua Prince on 8 Feb 2024
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).

Categories

Find more on Images in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!