I can not use log function in matlab
Afficher commentaires plus anciens
Hello can someone help understand why matlab doesnt understand what the logarithmic function is ? ( ps : it worked befoer and now suddenly it doesnt)
here is the error it gives me :
"Execution of script log as a function is not supported:
C:\Program Files\MATLAB\R2021b\toolbox\matlab\elfun\log.m"
What should i do ?
4 commentaires
Walter Roberson
le 4 Fév 2023
try
restoredefaultpath; rehash toolboxcache
Fatiha AZARUAL
le 4 Fév 2023
John D'Errico
le 4 Fév 2023
@Fatiha AZARUAL - You probably created a script named log.m, and saved it in that directory. That is a terribly bad choice. First, see if you did that. But if you did so, then you may be best served if you reinstall MATLAB.
Fatiha AZARUAL
le 4 Fév 2023
Réponses (1)
Walter Roberson
le 4 Fév 2023
1 vote
Your MATLAB installation is corrupted. You need to reinstall it.
1 commentaire
Fatiha AZARUAL
le 4 Fév 2023
Catégories
En savoir plus sur Startup and Shutdown 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!