Path: news.mathworks.com!not-for-mail
From: "meng long" <menglong6518@yeah.net>
Newsgroups: comp.soft-sys.matlab
Subject: error in static methods block
Date: Sat, 7 Nov 2009 09:33:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 10
Message-ID: <hd3esd$8i9$1@fred.mathworks.com>
Reply-To: "meng long" <menglong6518@yeah.net>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257586381 8777 172.30.248.37 (7 Nov 2009 09:33:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 7 Nov 2009 09:33:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 547833
Xref: news.mathworks.com comp.soft-sys.matlab:583199


In classdef block,  there are a static methods block

     methods (Static) 
           oPath = CrHPath(dCdPrdt);
     end

In the static methods block, Matlab always displays the error
     "MCC requires the program to assign a value to output argument 'oPath' ".

My Problem is "How to define the attribute of a static method to avid the error as above?"