[Eeglablist] uimenu issue
Makoto Miyakoshi
mmiyakoshi at ucsd.edu
Fri Aug 19 18:24:54 PDT 2016
Dear Lucia,
> I want to enable/disable items in a uimenu I created and integrated in
the Eeglab interface.
I see. I often need to pick up this kind of tricks from other plugins for
example. Some of the plugins have pretty complicated code to control enable
and disable their menu items depending on some other variables. I can't
give you good examples now, unfortunately, but I recommend you install
random plugins to investigate what they do in eegplugin_xxx.m part. Sorry
for my stupid answers!
Makoto
On Thu, Aug 18, 2016 at 10:35 AM, Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
wrote:
> Dear Lucia,
>
> > I am creating an EEGLAB plugin for the analysis and detection of
> high-frequency oscillations (HFOs).
>
> Fantastic. I made one in the past for continuous ECoG, and my colleague is
> making another one now for epoched ERPs.
>
> > I would like to enable some of the uimenus only if some variables
> (created by different functions) are present in the workspace.
>
> isfield(EEG, 'pac') checks if EEG.pac exists or not.
>
> Makoto
>
> On Sat, Aug 13, 2016 at 8:20 AM, Quitadamo, Lucia <l.quitadamo at aston.ac.uk
> > wrote:
>
>> Hello everybody,
>>
>>
>>
>> I am creating an EEGLAB plugin for the analysis and detection of
>> high-frequency oscillations (HFOs). I have created a set of functions which
>> can be called by means of a list of uimenus which I already integrated in
>> the EEGLAB interface. I would like to enable some of the uimenus only if
>> some variables (created by different functions) are present in the
>> workspace. Do you know how to do that? I have tried with “userdata”
>> property, but I have been able just to disable the uimenu at the startup.
>>
>>
>>
>> Thanks for your support.
>>
>>
>>
>> Best,
>>
>>
>>
>> Lucia
>>
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.uc
>> sd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
>>
>
>
>
> --
> Makoto Miyakoshi
> Swartz Center for Computational Neuroscience
> Institute for Neural Computation, University of California San Diego
>
--
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160819/038e0350/attachment.html>
More information about the eeglablist
mailing list