help-octave
[Top][All Lists]
Advanced

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

Re: Function handle with arguments for GUI callback


From: Arnaud Miege
Subject: Re: Function handle with arguments for GUI callback
Date: Tue, 12 Mar 2013 09:02:05 +0000




On 11 March 2013 18:31, Michael Goffioul <address@hidden> wrote:

This is standard Matlab behavior:
(look for  "Use Cell Arrays with Strings")

You are right of course, sorry.
 

As the object is a cell array, you need to index it with {}, but from what you saying, it doesn't work either. Does it change anything if you do an assignment instead:

x = gui.browse_btns{k}
x

No IVm afraid it doesn't. Don't know why it says k is 49 when used to index, and 3 when displaying it.

I will maybe try tagging the different uicontrols to circumvent the problem.

 Thanks,

Arnaud


reply via email to

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