Plot function not work
조회 수: 10 (최근 30일)
이전 댓글 표시
in program i used simple plot function but it is not execute
in all try its so that error:-
Attempt to execute SCRIPT plot as a function:
C:\Users\hp\Documents\MATLAB\plot.m
댓글 수: 0
답변 (2개)
madhan ravi
2019년 8월 1일
You have a script named plot.m, move it/rename it/delete it from MATLAB's path.
댓글 수: 0
Star Strider
2019년 8월 1일
Your ‘plot.m’ script is overshadowing the MATLAB plot function. Change your script file name to ‘myPlot.m’ or something that does not overshadow any MATLAB funciton, to solve the problem.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!