MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > copy a field from a structure to a different struc... 

Subject: copy a field from a structure to a different structure From: Naresh Pai Date: 20 Aug, 2009 02:29:05 Message: 1 of 7 
I would like to copy values in a specific field of a structure to another field in a different structure. For e.g. 
Subject: copy a field from a structure to a different structure From: Jos Date: 20 Aug, 2009 06:28:03 Message: 2 of 7 
"Naresh Pai" <npai@uark.edu> wrote in message <h6icdg$31o$1@fred.mathworks.com>... 
Subject: copy a field from a structure to a different structure From: Matt Date: 20 Aug, 2009 08:58:03 Message: 3 of 7 
"Jos " <#10584@fileexchange.com> wrote in message <h6iqdi$hmf$1@fred.mathworks.com>... 
Subject: copy a field from a structure to a different structure From: Naresh Pai Date: 20 Aug, 2009 13:09:04 Message: 4 of 7 
"Matt " <xys@whatever.com> wrote in message <h6j36q$7p1$1@fred.mathworks.com>... 
Subject: copy a field from a structure to a different structure From: Naresh Pai Date: 22 Aug, 2009 22:50:02 Message: 5 of 7 
"Naresh Pai" <npai@uark.edu> wrote in message <h6jhtg$k8c$1@fred.mathworks.com>... 
Subject: copy a field from a structure to a different structure From: Bruno Luong Date: 22 Aug, 2009 23:12:01 Message: 6 of 7 
"Naresh Pai" <npai@uark.edu> wrote in message <h6psmq$mnr$1@fred.mathworks.com>... 
Subject: copy a field from a structure to a different structure From: Naresh Pai Date: 22 Aug, 2009 23:23:04 Message: 7 of 7 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <h6pu01$h8o$1@fred.mathworks.com>... 
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.