I am learning matlab app designer for my project and facing problems to plot a graph.

조회 수: 1 (최근 30일)
My code:
x = 0:0.01:(360/180)*pi;
y = sin(x); plot(app.UIAxes,x,y);
But it's showing error.
The error is, "Error using app7/PlotbuttonButtonPushed Too many input arguments." What's the solution? Would be grateful if someone answers this. I am currently using matlab R2023a

답변 (1개)

Kevin Holly
Kevin Holly 2023년 8월 22일
I could not replicate the error. I made a simliar app (see attached). I ran it on R2023a Update 5. Is your MATLAB fully updated? Check for a red dot on the notification bell at the top right of the MATLAB UI.

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by