web('file', 'filename' '-browser') not working
- From: "Anne Tester" <antester@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Jul 2006 10:07:12 -0400
Hello,
I'm working on a project involving Matlab and a nice flashy GUI. To
call help files, I do:
web('file', 'help.html' '-browser');
On my computer, this works. After compiling it, it works. If I
manage to get the current directory wrong, somehow, the browser
attempts to go to www.help.com, rather than put up an error. So far
so good, except when the file isn't there, which I'm ignoring for the
moment.
However, when I run the program on other computers (I compile the
program first), it always goes to www.help.com, no matter what the
pwd says, or where I put help.html. This seems to happen on about
half of the other computers I try it on.
Any ideas? I had thought it was just path mixups but putting 'pwd'
in the appropriate places seems to indicate nothing is amiss. I do
not want to use explicit path names, (ie 'file:///c:/stuff/help.html'
syntax) as this program is meant for some distribution and I can't
guarantee that people will always have it running from the same
location.
Thank you in advance,
--Anne
.
- Prev by Date: Re: Can I trust that figure handles are always cre
- Next by Date: Re: Simulink subsystems ...
- Previous by thread: Flat fading in OFDM
- Next by thread: Tab key behavior in edit text box
- Index(es):
Relevant Pages
|