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

Al
Al 2017년 7월 18일
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