Missing components in Web built-in function?
4 ビュー (過去 30 日間)
古いコメントを表示
Hi!
I have a persistent problem across the different MATLAB versions (R2012a and R2012b, 32 bit) which is related to a compilation of a code containing "web url -browser" line. The line works perfectly fine on the MATLAB software (and previous version of compilers like 7.14) but when compiled into an exe file using the recent MCRs (R2012a/b), the following error pops out:
Undefined variable "helpUtils" or class "helpUtils.removeDotsFromFilePath". Error in web (line 125)
Could it be a problem in the "web" built-in function missing some routines?
What I am trying to display is a local folder in the browser and I am using Windows 7. I tried many options:
web url -browser
web url
web (url, '-browser')
web(['file:///' url])
where url is the path to a specific folder on the local disk.
Any help/alternatives would be greatly appreciated.
0 件のコメント
回答 (4 件)
Miguel Gaspar
2013 年 4 月 24 日
Hello Abbas,
I hope you have managed to solve your problem, despite the lack of any help here... Anyway, for me the problem was solved by copying the file web.m from %matlabroot%/toolbox/help, and adapting it to what I needed, working around the calls to helpUtils (in fact, I only copied and adapted the openMatlabBrowser sub-function). In my case, I wanted to display a local file embedded in the application, which required some more tweaks - look at how the function imread does it.
Miguel Gaspar
2 件のコメント
Guillaume Galibert
2014 年 5 月 8 日
Hi Miguel,
I'm trying to use web in a compiled project as well. In my case I want to point it towards a web url and open the system browser. I have tried to copy web.m and modify it for my own purpose like you did. It works well in Matlab but nothing happens in my standalone application without any error message...
If by any chance you have any idea.
Many thanks in advance,
Guillaume.
PS.: I use Matlab R2012b
tsubasa244
2016 年 8 月 3 日
Hi, I have now the same issue , I've compile a GUI Programm in exe file, it works in my computer, but dosent work on the computer which hat mcr but no matlab. and on that computer show the same warning like urs. Could u please tell me ur solution? the URL link is now out of date...hopfully I can solve this issue.
thanks in advanced
B.T.
0 件のコメント
Abbas Cheddad
2016 年 8 月 4 日
1 件のコメント
awirsing
2020 年 10 月 23 日
Hi,
I have the same issue with Matlab R2018b. Can you describe the original workaround please.
参考
カテゴリ
Help Center および File Exchange で JSON Format についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!