필터 지우기
필터 지우기

How do i use roipoly function in app designer?

조회 수: 3 (최근 30일)
Kyeong Min Kim
Kyeong Min Kim 2020년 4월 2일
편집: Jemima Pulipati 2020년 7월 24일
Hello,
I want to use roipoly in app designer.
In graphical user interface, i can used as follow:
axes(handles.axes1);
mask = roipoly;
In the app designer, however, axes function make the error as follow:
axes(app.UIAxes1);
mask = roipoly;
Error using axes
Axes cannot be a child of UIAxes.
Please let me know how to solve this problem.
Thank you.

답변 (1개)

Jemima Pulipati
Jemima Pulipati 2020년 7월 24일
편집: Jemima Pulipati 2020년 7월 24일
From my understanding, you are using axes() to modify the current axes and bring the parent figure into focus which could be because you are having a stacked axes and want to highlight a certain axes. In that case instead of using axes() you can try this link.
According to R2019b documentation roipoly() cannot be used in app designer.
Instead you can use drawrectangle() to interactively draw region of interest.
You can refer this link for more information.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by