|
From: | Michael Goffioul |
Subject: | Re: Classdef test request under Matlab |
Date: | Sun, 23 Feb 2014 09:43:44 -0500 |
Hi,On 23/02/14 05:19, Michael Goffioul wrote:
> Could someone test the following for me in Matlab?
>
> Assume you have the following file clA.m in your path:
>
> classdef clA
> methods
> function y = meth1 (this)
> y = 0;
> end
> end
> end
>
> Restart Matlab, I want to make sure clA.m hasn't been loaded into Matlab.
> Then create a handle to method meth1:
>
> h = @meth1
>
> Does Matlab accept that?
>
> Michael.
>
>
I placed the file clA.m in ~/Documents/MATLAB, restarted Matlab and
obtained the following:
>> h = @meth1
h =
@meth1
Running Matlab R2012a on Linux.
[Prev in Thread] | Current Thread | [Next in Thread] |