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 件のコメント

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

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop 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