DSPRelated.com
Forums

Please try my new Matlab plotting routine

Started by Paul Mennen May 9, 2004
In article <FKXnc.47086$nT.8712@newssvr29.news.prodigy.com>,
 "Paul Mennen" <nospam@mennen.org> wrote:

> "Ken Prager" <prager_me_@ieee.org> wrote in message > > There are several viewers available to read CHM files. One is xCHM, > > which is from Linux, recompiled for the Mac. Another is CHM Viewer. I > > chose CHM viewer and it works fine. To open your help file from within > > Matlab, you can call... > > >> unix('open -a /Applications/CHM\ Viewer.app PLT.CHM') > > I'd be tempted to try something like: > > if isunix unix('open -a /Applications/CHM\ Viewer.app PLT.CHM'); > elseif ispc dos('hh PLT.CHM'); > end; > > Would this work on a Mac? A Linux machine?, Other platforms? > If anybody has other suggestions, please let me know. > > Thanks > ~Paul
I think you need to add more checking to verify that it's Mac OS X and not some other flavor of Unix and also that the CHM Viewer application exists. Also (and this is the real PITA), the unix() command doesn't know about things in Matlab's path so you also have to specify the path to PLT.CHM, which could be anywhere! Isn't multi-platform software development fun? Might be better to stick to html or pdf, as others have suggested. Ken P. -- Remove _me_ for e-mail address
Ken Prager wrote:
> Might be better to stick to html or pdf, as others have suggested.
If I were to write a chm to html converter, I'd call it chm2html. On a whim, I Googled for chm2html - it turns up 1510 hits. "chm2html GPL" turns up 9. -- Jim Thomas Principal Applications Engineer Bittware, Inc jthomas@bittware.com http://www.bittware.com (703) 779-7770 A pessimist is an optimist with experience