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

11 Ansichten (letzte 30 Tage)
Is it possible to interactively display a volume using the R2018b volume visualizer volshow() function within an appdesigner's UIAxes component?
  1 Kommentar
Quentin Maronnier
Quentin Maronnier am 11 Feb. 2020
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."

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Cris LaPierre
Cris LaPierre am 10 Nov. 2020
Bearbeitet: Cris LaPierre am 10 Nov. 2020
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