Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Giri
Giri le 30 Mar 2018
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

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by