|
From: | Carlo de Falco |
Subject: | Re: How to wrap "lighting phong;" with a mock funtion? |
Date: | Mon, 14 May 2007 15:55:33 +0200 |
On 14/mag/07, at 15:38, Andreas Romeyke wrote:
probably you can use mark_as_command: >> type lighting lighting is the user-defined function defined from: /Users/carlo/Desktop/WDIR/lighting.m function ret = lighting (varargin) ret = 1; disp(" <--- lighting") >> lighting phong parse error: syntax error >>> lighting phong ^ >> mark_as_command ("lighting") >> lighting phong <--- lighting ans = 1 I hope this is what you meant. c. |
[Prev in Thread] | Current Thread | [Next in Thread] |