Path: news.mathworks.com!not-for-mail
From: "Zhankun Wang" <g_z4wang@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Trouble to publish m-file
Date: Mon, 16 Jul 2007 19:03:46 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <f7gfei$7jn$1@fred.mathworks.com>
Reply-To: "Zhankun Wang" <g_z4wang@hotmail.com>
NNTP-Posting-Host: webapp-00-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1184612626 7799 172.30.248.35 (16 Jul 2007 19:03:46 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 16 Jul 2007 19:03:46 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader C÷§*
Xref: news.mathworks.com comp.soft-sys.matlab:419381


When I intend to publish my m-file to html file. I got this error message even my m-file is very short and no error when I run it. I think there must be a problem of matlab. Dose anybody have the same problem? How to solve that?


??? Attempt to execute SCRIPT find_system as a function:
C:\Program Files\MATLAB\R2006b\toolbox\simulink\simulink\find_system.m

Error in ==> codetools\private\takepicture>captureSystems at 132
    oldOpenSystems = find_system('LookUnderMasks','all','Open','on');

Error in ==> codetools\private\takepicture at 50
    oldSystems = captureSystems;

Error in ==> codetools\private\evalmxdom at 31
    [pictureList, mcodeOutput, isError] = takepicture( ...

Error in ==> publish at 158
    dom = evalmxdom(dom,prefix,imageDir,options);