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

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by