MATLAB App Designer to app package cannot find HTML file

27 visualizaciones (últimos 30 días)
邱
el 30 de Oct. de 2024 a las 3:58
Comentada: Kojiro Saito el 30 de Oct. de 2024 a las 5:29
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 comentario
邱
el 30 de Oct. de 2024 a las 3:59
Movida: Kojiro Saito el 30 de Oct. de 2024 a las 4:34
it's the relative path in App designer

Iniciar sesión para comentar.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by