Volshow not working on Mac

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?

回答 (1 件)

Himanshu
Himanshu 2023 年 10 月 11 日
編集済み: Himanshu 2023 年 10 月 11 日

0 投票

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

質問済み:

2022 年 3 月 1 日

編集済み:

2023 年 10 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by