Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Add fields to records dynamically in tlc
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Prabhakaran thirugnanam

Posts: 35
Registered: 6/17/10
Add fields to records dynamically in tlc
Posted: Sep 28, 2013 8:39 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

How to add sub records dynamically in tlc. I wanna have the record as below.

Main_record
{
subrecord { Element1 Value1; Element2 Value2}
subrecord { Element1 Value1; Element2 Value2}
.
.
}

If I find new field to be added then I should add it to the Main_record so that Main_record shall become like this
Main_record
{
subrecord { Element1 Value1; Element2 Value2}
subrecord { Element1 Value1; Element2 Value2}
subrecord { Element1 Value1; Element2 Value2}
.
.
}
I should be abled to acess the elements using the code
Main_record[1].subrecord.Element1
Main_record[0].subrecord.Element2

Is this feature possible in TLC?




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.