Why MATLAB on Mac reads functions as scripts instead of functions?

조회 수: 1 (최근 30일)
Brianna Miranda
Brianna Miranda 2022년 7월 14일
댓글: Bruno Luong 2022년 7월 14일
Whenever I attempt to call on a function in my script I get an error stating "Execution of script rd_segy as a function is not supported" but this function is saved as a function and not a script in MATLAB. This keeps randomly happening, and yes I am certain that the function is actually a function and not a script. How do I fix this issue? All of the codes I'm using were created using my mac. I also am able to run the scripts without receiving this error when I use my windows pc.
  댓글 수: 3
Bruno Luong
Bruno Luong 2022년 7월 14일
If you type
which rd_segy
when the error occurs what do you get?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by