Warning: Escaped character '\U' is not valid. See 'doc sprintf' for supported special characters. Warning: Error updating ConstantLine. Execution of script mean as a functi
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dear all,
I only use one line code as below and then I got this warning which I have no idea. Could anybody give me a favor?
Thank you so much,
Best wishes,
Vivian Zhou
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1600881/image.png)
2 Commenti
Risposte (1)
Dyuman Joshi
il 26 Gen 2024
Spostato: Dyuman Joshi
il 26 Gen 2024
Given the warning message - I suspect that you have a overloaded the mean() function by naming a user-defined script as mean.
Check the output of
which mean -all
to find the location of the script, rename it and try again.
4 Commenti
Dyuman Joshi
il 27 Gen 2024
You are welcome! Glad to have helped :)
If my answer solved your problem, please consider accepting the answer.
Stephen23
il 27 Gen 2024
+1 well spotted, Dyuman Joshi. I got distracted by that odd warning message.
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!