How to use mapping toolbox in web app?
조회 수: 2 (최근 30일)
이전 댓글 표시
Recently I try to develop a web app for painting the temperature in the ocean. But "Figure" can not be used in the web app and some functions from mapping toolbox (such as "worldmap") will create a new figure by itself, which leads to the error during this app runs in the browser. And I tried to set the Figure-'visible' as 'off', but it didn't work.
댓글 수: 0
답변 (1개)
Ryan Klots
2021년 2월 16일
편집: Ryan Klots
2021년 2월 16일
It looks like this MATLAB Answers post by the MathWorks Support Team gives a couple of suggestions for how to leverage Mapping Toolbox functionality in App Designer. The description sounds similar to your use case, as I believe that web apps must be compiled using App Designer.
I would recommend trying out the first workaround suggested in that post. In particular, Option 1 leverages geoaxes, which work with UIFigures. Since App Designer uses UIFigures, geoaxes may work well depending on your exact use case.
댓글 수: 1
Ryan Klots
2021년 2월 16일
편집: Ryan Klots
2021년 2월 16일
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Web App Server에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!