Why do I get 404: component not found error when calling a function from MPS?
조회 수: 10 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2020년 11월 2일
편집: MathWorks Support Team
2025년 11월 10일
I am using MATLAB Production Server using Microsoft Azure. I create the deployable archive MATLAB function using productionServerCompiler. I then try to call the function by using POST and GET. When I use GET, I am receiving a 404 error stating that the component was not found. I looked up this error message using this MathWorks Documentation page:
This states that this error message is appearing because the CTF archive was not found. I made sure that the deployable archive (CTF) was located in the auto_deploy folder of the running server instance as mentioned here:
I am compiling the archive using MATLAB R2020b. Why is the archive not being found, and how can I resolve this issue?
채택된 답변
MathWorks Support Team
2025년 11월 10일
Even if the CTF archive is located in the correct location, it will not be able to be properly read if the version of MATLAB Runtime used by MATLAB Production Server does not match the version that was used to compile the CTF archive. To resolve this issue, please be sure that these two MATLAB Runtime versions are the same.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Installation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!