필터 지우기
필터 지우기

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

조회 수: 5 (최근 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