Does WEB work in an application generated by MATLAB Compiler 4.0 (R14)?

3 次查看(过去 30 天)
I would like to use WEB in a stand-alone application. However, when I compile and run the application, I receive the following error:
Undefined command/function 'ibrowse'.
Error in ==> web at 287
MATLAB:UndefinedFunction

采纳的回答

MathWorks Support Team
This problem has been fixed in MATLAB Compiler 4.2 (R14SP2). If you are using a previous version, read the following:
We have verified that there is a bug in MATLAB Compiler 4.0 (R14) when generating a stand-alone application that uses WEB.
To work around this issue, do the following:
1. Change your command to the following form:
web('<http://www.mathworks.com','-browser'>)
2. Copy the ibrowse.dll file in the $MATLAB/toolbox/matlab/helptools directory to the $MATLAB/toolbox/compiler/mcr/matlab/helptools directory. Above, $MATLAB represents your root MATLAB directory as returned by the command:
matlabroot
Once you have copied the ibrowse.dll file into the correct directory, recompile your application.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by