problems using the subplot command in MatLab
Mostra commenti meno recenti
Hi, I faced this message when I used subplot command in MatLab: Attempt to execute SCRIPT subplot as a function:
1 Commento
Jos
il 10 Dic 2014
can you show how you used the subplot command
Risposte (1)
Jan
il 10 Dic 2014
What is your current directory? I cannot test it currently, but this effect could happen, when the current directory is in the folder, which contains the help section of the subplot command.
cd(fileparts(which('suplot.m')))
subplot(1,2,1)
Then subplot.m is called, but this is a script which contains the help section as comments only.
If this is your problem, change to another folder.
Categorie
Scopri di più su Subplots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!