MATLAB App Designer to app package cannot find HTML file

4 vues (au cours des 30 derniers jours)
邱
le 30 Oct 2024
Commenté : Kojiro Saito le 30 Oct 2024
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 commentaire
邱
le 30 Oct 2024
Déplacé(e) : Kojiro Saito le 30 Oct 2024
it's the relative path in App designer

Connectez-vous pour commenter.

Réponse acceptée

Kojiro Saito
Kojiro Saito le 30 Oct 2024
Back1.html is not located in MATLAB's current folder, so, please change HTMLSource property from "./Back1.html" to "Back1.html".
  3 commentaires
邱
le 30 Oct 2024
They are not in the same folder when i pachage them?
Kojiro Saito
Kojiro Saito le 30 Oct 2024
In environment, Image Component with "./xxx.jpg" path does not work in a packaged app, but works fine with "xxx.jpg".

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by