Re: global cell arrays ?
- From: Tiga <nospam@xxxxxxxxx>
- Date: Thu, 6 Oct 2005 09:46:10 -0400
Hello bluelagoon,
it might be easier than you think or I didn't understand your problem
at all ;-)
Try this in your function:
....
global my_cell;
my_cell{1} = 'whatever';
....
Then in another function you can use this code:
....
global my_cell;
dummy = my_cell{1};
....
The command 'global' will produce an empty variable when there isn't
a global variable with the desired name. But in Matlab you can just
overwrite this variable with a cell or whatever kind of variable you
want.
Tiga
.
- Follow-Ups:
- Re: global cell arrays ?
- From: bluelagoon
- Re: global cell arrays ?
- References:
- global cell arrays ?
- From: bluelagoon
- Re: global cell arrays ?
- From: Ken Davis
- Re: global cell arrays ?
- From: bluelagoon
- global cell arrays ?
- Prev by Date: Re: ***is this a bug or platform limitation?
- Next by Date: Re: Curve fitting custom equation outside GUI?
- Previous by thread: Re: global cell arrays ?
- Next by thread: Re: global cell arrays ?
- Index(es):
Relevant Pages
|