Return the output (which is a structure) of an eval function

1 view (last 30 days)
Hi,
i am using the eval function to create a structure from the data i have like shown below:
c =
RoadXML.Network.Geolocalisation.Translation.Attributes.x = 123
When i pass this to eval, it returns a structure to the workspace as seen below:
eval(c)
RoadXML = Network: [1x1 struct]
Is there any way by which i can capture this structure in a variable so that i can use it for the furthur processing of the data? Thanks in advance for the tip,
Regards,
Girish

Answers (0)

Categories

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!