problems with volshow()

2 次查看(过去 30 天)
leena
leena 2018-10-29
I had tried the following demo code in Matlab. I'm using Matlab 2018b
load('spiralVol.mat'); h = volshow(spiralVol);
but i'm getting a black screen. i tried opengl software and opengl hardware my system is core i3 with 4gb ram

回答(2 个)

ARP
ARP 2019-5-22
try this:
data = spiralVol
V = squeeze(data);
h = volshow(V);

halil
halil 2019-12-1
I think volshow is available only from Matlab r2019, not earlier versions.
  1 个评论
Walter Roberson
Walter Roberson 2019-12-1
R2019a in particular is the documented starting point according to current documentation, but in fact it appeared in R2018b and was documented then; https://www.mathworks.com/help/releases/R2018b/images/ref/volshow.html

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by