When I put in a simple vector to be plotted, whenever I call the plot function, it wouldn't run and the script will have an error"
Screen Shot 2019-03-20 at 12.20.08 AM.png

 Akzeptierte Antwort

madhan ravi
madhan ravi am 19 Mär. 2019
Bearbeitet: madhan ravi am 19 Mär. 2019

3 Stimmen

You have a script named plot.m please remove it from the path ,rename or delete it , it is shadowing the in-built plot() function.

3 Kommentare

Louanne Grace de Sales
Louanne Grace de Sales am 20 Mär. 2019
thank you very much! it totally worked fine now :)
Steven1
Steven1 am 16 Jun. 2023
Thanks,I had the same issues.
Harsh
Harsh am 3 Jul. 2024
How to remove script plot.m

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

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!

Translated by