subplot function does not work

1 view (last 30 days)
Joshua Bailey
Joshua Bailey on 20 Sep 2015
Answered: Jan on 20 Sep 2015
I have used the subplot on multiple occasions before, but I am getting an error of 'too many inputs' when attempting to use it now. When I type 'help subplot' the following appears
It seams to me that somehow the subplot function has become damaged within my Matlab program. How do I fix this?

Answers (1)

Jan
Jan on 20 Sep 2015
You are right: There is obviously another subplot.m in your path. Perhaps it was created by a failing try to import data?! Just a guess.
Use
which subplot -all
Most likely the first one can be deleted, but better store it in a cool dry place, if it contains any useful code.

Community Treasure Hunt

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

Start Hunting!