Plot function not work
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
madhan ravi
le 1 Août 2019
You have a script named plot.m, move it/rename it/delete it from MATLAB's path.
0 commentaires
Star Strider
le 1 Août 2019
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 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!