Thread Subject: how to export structure variable from gui to workspace

Subject: how to export structure variable from gui to workspace

From: shre shai

Date: 16 Jun, 2009 16:55:23

Message: 1 of 5

If any one could help to solve this problem of exporting structure variable from GUI to workspace. I tried with assignin but it seems it doesnot work with structures variable..

Thanks

Subject: how to export structure variable from gui to workspace

From: Eli

Date: 30 Jun, 2009 17:40:40

Message: 2 of 5

On Jun 16, 9:55 am, "shre shai" <shres...@gmail.com> wrote:
> If any one could help to solve this problem of exporting structure variable from GUI to workspace. I tried with assignin but it seems it doesnot work with structures variable..
>
> Thanks

try the evalin command

Subject: how to export structure variable from gui to workspace

From: parapathekappa

Date: 19 Aug, 2009 15:48:57

Message: 3 of 5

On Jun 30, 10:40 am, Eli <echmo...@gmail.com> wrote:
> On Jun 16, 9:55 am, "shre shai" <shres...@gmail.com> wrote:
>
> > If any one could help to solve this problem of exporting structure variable from GUI to workspace. I tried with assignin but it seems it doesnot work with structures variable..
>
> > Thanks
>
> try the evalin command

I tried this and it says it eavlin doesn't work with structures. Nor
does eval.

Subject: how to export structure variable from gui to workspace

From: Matt Fig

Date: 19 Aug, 2009 15:59:21

Message: 4 of 5

For several examples of appropriate ways to this here:

http://www.mathworks.com/matlabcentral/fileexchange/24861


See Q#30.

Subject: how to export structure variable from gui to workspace

From: Bruno Luong

Date: 19 Aug, 2009 17:15:25

Message: 5 of 5

parapathekappa <parappathekappa@gmail.com> wrote in message <5b88d6e3-e1be-491e-9d22-01e91bdc7341@z31g2000yqd.googlegroups.com>...

>
> I tried this and it says it eavlin doesn't work with structures. Nor
> does eval.

Pardon??? I have tried this:

>> f=@() evalin('base','s=struct(''comment'',''nonsense'')');

>> f(), s.comment

s =

    comment: 'nonsense'


ans =

nonsense

% Bruno

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
strucuture gui sukuchha shrestha 16 Jun, 2009 12:59:02
rssFeed for this Thread

Contact us at files@mathworks.com