drawrectangle not a defined function?

6 visualizaciones (últimos 30 días)
Raymond Mo
Raymond Mo el 9 de Jul. de 2019
Comentada: Walter Roberson el 9 de Jul. de 2019
I've been programming in App Designer and I want to have a ROI over some axes that would return its position. However, for some reason drawrectangle is undefined as a function. When I look up the documentation for it through matlab it cannot find the function either. A lot of answers on different posts say it might be the path but the MATLAB folder is still in my path. Please help.
ax = axes(app.UIFigure);
drawrectangle(ax); %Undefined function 'drawrectangle' for input arguments of type 'matlab.graphics.axis.Axes'.

Respuesta aceptada

Walter Roberson
Walter Roberson el 9 de Jul. de 2019
It needs R2018b or later.
  7 comentarios
Raymond Mo
Raymond Mo el 9 de Jul. de 2019
Oh, can I add it in or would I need to purchase the full version?
Walter Roberson
Walter Roberson el 9 de Jul. de 2019
You can request that products be added to the trial.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by