How can I use area plot in App Desiigner. I am using this code to show the area behide the curve of a function, in order to show the integration area.
This is the code:
f = str2func(app.FuncinEditField.Value)
a = app.aEditField.Value
b = app.bEditField.Value
n = app.nEditField.Value
y = f(x)
I get this error at area(app.UIAxes,x,y) line: Unable to use a value of type matlab.ui.control.UIAxes as an index.
Thank you for your help