MATLAB won't run a code even when in directory containing the code
이전 댓글 표시
I try to run a code initially from my home directory. Matlab states that the code exists in a specific folder and I should navigate to that folder OR add that folder to my path. Neither of these options works.
The permissions of the code in the folder is set to execute. As a test, I can run the code from the Linux prompt and it will execute (but of course fail because it's a Matlab code not a Linux executable). I just do this to prove executable status...
Images show the output. Any idea why Matlab would not run a code that is set to executable?
댓글 수: 5
Cris LaPierre
2023년 7월 27일
As a simple test, please set your current folder in MATLAB to the indicated folder and attempt to execute generateNetbatchProfile. If you still get an error, please run the pwd command in MATLAB and share a screenshot of the result.
Paul Safier
2023년 7월 27일
Cris LaPierre
2023년 7월 27일
Can you run any other fucntions in that folder?
Paul Safier
2023년 7월 27일
Paul Safier
2023년 7월 27일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!