Something wrong with opening the html in GUI

1 visualización (últimos 30 días)
QiQin Zhan
QiQin Zhan el 3 de Mzo. de 2013
Comentada: Guillaume Galibert el 8 de Mayo de 2014
I publish a html for my GUI code and it can be opened using the code
web('D:\MATLAB\code\GUI\mypublish.html')
However ,after I use the code
mcc -m name.m
to generate an executable .exe file for my GUI,there's something wrong with it.It shows 'Error in web'.what's wrong?Can someone help me?Thanks a lot.

Respuestas (1)

Walter Roberson
Walter Roberson el 3 de Mzo. de 2013
Is the difficulty that the compiled executable will not open the web page? If so, does the machine running the executable have the html at exactly the same location? (If so, what mechanism is installing the .html at that location on other machines) ?
  3 comentarios
Walter Roberson
Walter Roberson el 4 de Mzo. de 2013
In your code, near the place you call "web", put in a line with
%#function helpUtils
Guillaume Galibert
Guillaume Galibert el 8 de Mayo de 2014
This didn't help. After compilation, web is still facing this error. Is there anything to add when compiling so that helpUtils is recognised in the standalone binary?

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Web App Server en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by