I can not use log function in matlab

9 visualizaciones (últimos 30 días)
Fatiha AZARUAL
Fatiha AZARUAL el 4 de Feb. de 2023
Comentada: Fatiha AZARUAL el 4 de Feb. de 2023
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 comentarios
John D'Errico
John D'Errico el 4 de Feb. de 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
Fatiha AZARUAL el 4 de Feb. de 2023
Maybe i did i have no idea but now after i reinstalled it, it works fine thank you!

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 4 de Feb. de 2023
Your MATLAB installation is corrupted. You need to reinstall it.
  1 comentario
Fatiha AZARUAL
Fatiha AZARUAL el 4 de Feb. de 2023
apparently yes i reinstalled it and it works thank you!

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by