octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Could someone run the attached on Matlab 2008a


From: Søren Hauberg
Subject: Re: Could someone run the attached on Matlab 2008a
Date: Thu, 16 Oct 2008 13:15:23 +0200

tor, 16 10 2008 kl. 13:04 +0200, skrev Søren Hauberg:
> tor, 16 10 2008 kl. 11:44 +0100, skrev David Bateman:
> > Could someone run the script below on Matlab 2008a and send me the 
> > results (ie the file testhandles.mat)? I still have some doubts about 
> > what are the return types of certain graphics primitives would like to 
> > confirm that some of the changes I made for group objects are correct 
> > before finalizing that part of the code.
> 
> When cut'n'pasting your code directly into the matlab prompt I get
> 
> 
> >> h = surfc (meshgrid(1:5,1:5));
> >> gh_surfc = get(h);
> ??? Error using ==> get
> Objects must all be instances of the same class.

Okay, the problem was that h is a vector of handles. Attached is a
changed version of the script along with the resulting mat-file.

Søren

Attachment: delme.m
Description: Text Data

Attachment: testhandles.mat
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]