I can not use log function in matlab

조회 수: 7 (최근 30일)
Fatiha AZARUAL
Fatiha AZARUAL 2023년 2월 4일
댓글: Fatiha AZARUAL 2023년 2월 4일
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
John D'Errico
John D'Errico 2023년 2월 4일
@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 2023년 2월 4일
Maybe i did i have no idea but now after i reinstalled it, it works fine thank you!

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2023년 2월 4일
Your MATLAB installation is corrupted. You need to reinstall it.
  댓글 수: 1
Fatiha AZARUAL
Fatiha AZARUAL 2023년 2월 4일
apparently yes i reinstalled it and it works thank you!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by