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 Kommentar

邱
am 30 Okt. 2024
Verschoben: Kojiro Saito am 30 Okt. 2024
it's the relative path in App designer

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Kojiro Saito
Kojiro Saito am 30 Okt. 2024

1 Stimme

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

3 Kommentare

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".

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2024a

Gefragt:

邱
am 30 Okt. 2024

Kommentiert:

am 30 Okt. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by