Functions Not Supported for Compilation by MATLAB Compiler. What is the solution?
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi,
I have gone through this article below and understood that Matlab doesn't support these functions after the compilation (standalone desktop app).
But what is the solution? Does that mean that if I have these functions in my app, then I cannot compile it at all?
댓글 수: 0
답변 (2개)
Image Analyst
2023년 5월 5일
There is a lot more than that. In general, applets cannot be compiled also, for example ColorThresholder or other applets on the Apps tab of the tool ribbon. You'd have to write something yourself. What function, specifically, were you trying to include?
Walter Roberson
2023년 5월 5일
You would need to use isdeployed() to prevent those functions from being called in the compiled version of your application.
If your application depends on the functionality then you will need to write the functionality some other way. Sometimes that is fairly easy, sometimes it is a lot of work
댓글 수: 3
Walter Roberson
2023년 5월 9일
Historically you had to use Simulink Coder, but I gather that recently Application Builder began to handle some mixes of MATLAB and Simulink. I believe that requires a newer release than you are using.
참고 항목
카테고리
Help Center 및 File Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!