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

 Risposta accettata

madhan ravi
madhan ravi il 19 Mar 2019
Modificato: madhan ravi il 19 Mar 2019

3 voti

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 Commenti

thank you very much! it totally worked fine now :)
Steven1
Steven1 il 16 Giu 2023
Thanks,I had the same issues.
Harsh
Harsh il 3 Lug 2024
How to remove script plot.m

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by