Can I import/export IP-XACT files with "readstruct" and "writestruct"?

2 views (last 30 days)
I would like to import and export IP-XACT files with a MATLAB script.
I have tried reading an IP-XACT file with "readstruct" and it does provide usable data, but not in a preferred format.   I have also tried using "writestruct" to export a struct, but it does write the data in the IP-XACT format.
Is there a way to import and export IP-XACT files in MATLAB?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 Feb 2023
Importing and exporting IP-XACT files in MATLAB is not supported as of R2022b. As IP-XACT files are a type of XML file, you may be able to develop your own algorithms involving "readstruct" and "writestruct" to import and export data in the IP-XACT format.
IP-XACT files are supported by HDL Verifier's Translation Level Model Generation, so it is recommended that you adapt your workflow to incorporate TLM.  You can learn about TLM at the documentation page below:

More Answers (0)

Categories

Find more on Weather and Atmospheric Science in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!