Plot function not work
Ältere Kommentare anzeigen
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
Antworten (2)
madhan ravi
am 1 Aug. 2019
0 Stimmen
You have a script named plot.m, move it/rename it/delete it from MATLAB's path.
Star Strider
am 1 Aug. 2019
0 Stimmen
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.
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!