Too many output arguments s = setting
Afficher commentaires plus anciens

can you please help me with this?
Here I have check settings() function which returns nothing but matlab built-in funcition imshow() is expecting it to return some object 's' therefore it is giving error "too many output arguments" in fact it return nothing.
Thanks in advance!
8 commentaires
Tommy
le 27 Avr 2020
What settings function did you check? What is the result of
which settings
Walter Roberson
le 27 Avr 2020
Yes, it is likely that you have your own settings.m that is interfering with Mathwork's setting.m
Muhammad Asif
le 27 Avr 2020
Rik
le 27 Avr 2020
Please show the results of this line:
which settings -all
That way we know for sure the inbuilt function is called.
Muhammad Asif
le 27 Avr 2020
Walter Roberson
le 27 Avr 2020
Use pathtool to move
C:\Program Files\MATLAB\R2017a\toolbox\psat
to the bottom of your path.
Note: this might interfere with psat working properly, but that is something to worry about later.
Muhammad Asif
le 27 Avr 2020
prince aduama
le 13 Fév 2022
It worked. Thank you!
Réponses (0)
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!