error when trying to run fit function
이전 댓글 표시
I keep getting the error:
Attempt to execute SCRIPT mpower as a function:
/Applications/MATLAB_R2020b.app/toolbox/matlab/ops/mpower.m
while trying to run my fit function. Any idea how to fix this?
답변 (1개)
Torsten
2023년 4월 7일
0 개 추천
Seems you gave your script the name "mpower.m".
This conflicts with the built-in MATLAB function with the same name.
Rename your script.
댓글 수: 2
Moheb Amir Adel Kamel Rafla
2023년 4월 7일
Please post the results of executing this command from your Command Window or a script:
which mpower -all
Your result should be similar to this. If there are any other entries, that points to the problem.
.
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!