MATLAB Answers

how to read ODX files

9 views (last 30 days)
lml on 8 Jul 2015
Answered: William R on 8 Dec 2017
Good Morning
i'm beginner on matlab and i need help to read ODX files with MATLAB, i don't have any other software (Canalyzer) except this one, so i've to use matlab to resolve this problem.
with regards Amine
  1 Comment
Ugur Keskin
Ugur Keskin on 21 Mar 2017
Interesting question!
Did you in the meantime solve this question? Or is there someone who can still answer this one?

Sign in to comment.

Answers (1)

William R
William R on 8 Dec 2017
I am working on a solution for this. Using a script I can read the XML format of the ODX. I use the XML2Struct function for this. Then I go trough this struct to get all the elements out this struct and link information together were necessary.
The challenges I face are how to get the default, min and max value of the parameters from the ODX file (typically not stored in ODX). This I need because I want to save the ODX parameter data to a Simulink Data Dictionary.

Community Treasure Hunt

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

Start Hunting!