problems with volshow()

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 日

0 投票

try this:
data = spiralVol
V = squeeze(data);
h = volshow(V);
halil
halil 2019 年 12 月 1 日

0 投票

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

サインインしてコメントする。

タグ

質問済み:

2018 年 10 月 29 日

コメント済み:

2019 年 12 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by