Something wrong with opening the html in GUI

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.

답변 (1개)

Walter Roberson
Walter Roberson 2013년 3월 3일

0 개 추천

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

The detail error is 'Undefined variable''helpUtils'' or class ''helpUtils.checkForDemoRedirect'' '.And the html is published using matlab2012b on my computer.
In your code, near the place you call "web", put in a line with
%#function helpUtils
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?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Adding custom doc에 대해 자세히 알아보기

태그

질문:

2013년 3월 3일

댓글:

2014년 5월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by