Web Browser won't load

I have .m file scripts creating a .html file which I then try to display using: web('foo.html');
This will bring up the browser window but 'foo.html' won't load. With the browser open, I go to file and manually try to open 'foo.html'. I click open from the file dialog but still will not load. No error messages are displayed.
Sometimes, but not all, a re-launch of Matlab will correct the problem.

回答(1 个)

Jan
Jan 2017-7-18

0 个投票

Is the HTML file still open in Matlab? Did you close the file by fclose?
Can you open the file in an editor?

1 个评论

Hi Jan, Yes, the file is closed, via fclose(htmlfid),just prior to issuing the web('foo.html') command. I even inserted a 3sec pause between the 2 commands to see if that affected the file load. It did not.
I can open/view the file in a ascii editor and can view the html using Windows IE (but the links are inactive because designed to executed within Matlab's engine/workspace.
Regards, Al

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Adding custom doc 的更多信息

标签

提问:

Al
2017-7-18

评论:

Al
2017-7-18

Community Treasure Hunt

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

Start Hunting!

Translated by