MATLAB Answers

problems with volshow()

9 views (last 30 days)
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

Answers (2)

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

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;

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!