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

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

采纳的回答

MathWorks Support Team
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:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Weather and Atmospheric Science 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by