Volume visualization using Volshow() in appdesigner UIAxes, is it possible?

3 ビュー (過去 30 日間)
Luca Della Santina
Luca Della Santina 2018 年 9 月 23 日
編集済み: Cris LaPierre 2020 年 11 月 10 日
Is it possible to interactively display a volume using the R2018b volume visualizer volshow() function within an appdesigner's UIAxes component?
  1 件のコメント
Quentin Maronnier
Quentin Maronnier 2020 年 2 月 11 日
Same question.
Without appdesigner, its possible to create an UIPanel and then visualize with the command volshow(V) but when I want to perform the same operation on app designer it causes an error.
"Error using hg2gcv
Functionality not supported with figures created with the uifigure function. For more information, see
Graphics Support in App Designer.
Error in images.internal.volshow.View/createVolumeCanvasViewArea
Error in images.internal.volshow.View/createView
Error in volshow/set.Parent
Error in volshow/parseInputs
Error in volshow
Error in lesionInsert/ADDButtonPushed (line 405)
volshow((squeeze(lesionAlone)),'Parent',a)
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335)
Error while evaluating Button PrivateButtonPushedFcn."

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

回答 (1 件)

Cris LaPierre
Cris LaPierre 2020 年 11 月 10 日
編集済み: Cris LaPierre 2020 年 11 月 10 日
The documentation states that 'parent' should be a figure or uipanel, not an axes (Tips section).
"The volshow function creates a uipanel object in the specified parent figure."
That being said, it does not appear to work in a uipanel placed on a uifigure, which is the case with app designer. See more in my post here.

Community Treasure Hunt

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

Start Hunting!

Translated by