Path: news.mathworks.com!not-for-mail
From: "Matthew Simoneau" <matthew@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Weird publish behavior
Date: Thu, 27 Sep 2007 16:20:24 +0000 (UTC)
Organization: The MathWorks
Lines: 12
Message-ID: <fdgl88$j5h$1@fred.mathworks.com>
References: <fdfrjf$4tf$1@fred.mathworks.com>
Reply-To: "Matthew Simoneau" <matthew@mathworks.com>
NNTP-Posting-Host: webapp-06-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1190910024 19633 172.30.248.36 (27 Sep 2007 16:20:24 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 27 Sep 2007 16:20:24 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 25640
Xref: news.mathworks.com comp.soft-sys.matlab:430461



I think I see what's going on here.  Instead of saying:

   options.evalCode = 'false';

try this:

  options.evalCode = false;

This option should be the scalar logical "false", and not
the char array "false".

Even so, you should be getting a better error message here.