MATLAB Answers

problems with volshow()

12 views (last 30 days)
leena
leena on 29 Oct 2018
Commented: Walter Roberson on 1 Dec 2019
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

  0 Comments

Sign in to comment.

Answers (2)

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

  0 Comments

Sign in to comment.


halil
halil on 1 Dec 2019
I think volshow is available only from Matlab r2019, not earlier versions.

  1 Comment

Walter Roberson
Walter Roberson on 1 Dec 2019
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

Sign in to comment.

Sign in to answer this question.


Translated by