MATLAB App Designer to app package cannot find HTML file

When I was packaging the MATLAB APP, I had already packaged the HTML file in the following interface. But during the installation, it shows that this HTML file cannot be found. I wonder if there is a problem with my relative path. I could do it this way before.

댓글 수: 1

邱
2024년 10월 30일
이동: Kojiro Saito 2024년 10월 30일
it's the relative path in App designer

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

 채택된 답변

Kojiro Saito
Kojiro Saito 2024년 10월 30일

1 개 추천

Back1.html is not located in MATLAB's current folder, so, please change HTMLSource property from "./Back1.html" to "Back1.html".

댓글 수: 3

Thank you!
But I have put HTML file into package like other files, and other jpg file use '' ./*** '' format, why html doesn't work?
They are not in the same folder when i pachage them?
In environment, Image Component with "./xxx.jpg" path does not work in a packaged app, but works fine with "xxx.jpg".

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품

릴리스

R2024a

질문:

邱
2024년 10월 30일

댓글:

2024년 10월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by