Clear Filters
Clear Filters

Volshow not working on Mac

1 view (last 30 days)
Paula Andreu
Paula Andreu on 1 Mar 2022
Edited: Himanshu on 11 Oct 2023
Whenever I try to use the function volshow, Matlab crashes. I have Matlab_R2021b version on macOS Monterrey and have deleted the app and downloaded it again but that doesn't seem to solve the issue, any ideas?

Answers (1)

Himanshu
Himanshu on 11 Oct 2023
Edited: Himanshu on 11 Oct 2023
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

Community Treasure Hunt

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

Start Hunting!