Hey Paula,
I understand that you are trying to run the “volshow” function on MATLAB version 2021b and are encountering a crash.
One possible reason why this might be happening is that in the "volshow" function all the logical volumes are displayed using isosurface by default. But `isosurface` rendering doesn’t work on Apple M1 Mac. Please refer to the below documentation to know more about the “volshow” function:
To resolve this issue, please launch the “volshow” function as follows:
h = volshow(rtMask, 'Renderer','VolumeRendering')
Hope this helps!
Regards,
Himanshu