• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. RF Design
  3. AWR MWO - exporting output equation results to a .mat f...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 4285
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AWR MWO - exporting output equation results to a .mat file

IndyvdHeuvel
IndyvdHeuvel over 2 years ago

Hello all,

I'm using AWR Design Environment 16.03.12629.

I am trying to export data from AWR to matlab using the output file option.

However when exporting the data calculated in output equation files I'm running into an error.

To reproduce the error I set up a new project with a very basic circuit consisting of an ACVS connected to a 1 ohm resistor and set up the following ouput equation file:

 #

I can succesfully plot Yxp in a tabular graph and will see the expected rsults of Itime.

However when exporting the results using an output file I get the following error:

 Measurement - :MATLAB("circ1eqs:Re(Eqn(Yxp))",X,Y,0,"testfile") : Cannot create EQN simulator for document 'circ1eqs.$FDOC' (Document 'circ1eqs' not found).

which appears to indicate that it cannot find the output equation file, I noticed that when renaming the output equation file identically to the circuit schematic the error message would change to:

 Measurement - :MATLAB("circ1:Re(Eqn(Yxp))",X,Y,0,"testfile") : Cannot create EQN simulator for document 'circ1.$FDOC' (Simulator not available (no license?)).

I would add that I was able to succesfully use the matlab output files for any measurements from circuits schematic files, it just fails for equations.

Has anyone seen this error before?

Many thanks!

  • Cancel
Parents
  • David Webster
    David Webster over 2 years ago

    Hi Andy,

    I replied via email but I just saw that you had also posted this on the forums. I will post my answer here so others can benefit.

    We do not currently support exporting to a .mat file from data that comes from an equations document, only measurements available in the AWR measurement catalog. We do however have a few options to pick from to get the desired data into Matlab.

    With the desired output equation plotted to a graph, if you make the graph the active window, you can go to Graph->Export Trace Data... to export the trace data as a tab delimited .txt file. You can then import that .txt file into Matlab using their tdfread() function.

    Another option is that we have a Python API library and you can bring the equations into Python and either plot it within Python or use the scipy library to convert to a .mat file.

    Python in MWO:

    https://kb.awr.com/display/awrscripts/Python 

    Scipy page on saving a .mat file in Python:

    https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.savemat.html

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • David Webster
    David Webster over 2 years ago

    Hi Andy,

    I replied via email but I just saw that you had also posted this on the forums. I will post my answer here so others can benefit.

    We do not currently support exporting to a .mat file from data that comes from an equations document, only measurements available in the AWR measurement catalog. We do however have a few options to pick from to get the desired data into Matlab.

    With the desired output equation plotted to a graph, if you make the graph the active window, you can go to Graph->Export Trace Data... to export the trace data as a tab delimited .txt file. You can then import that .txt file into Matlab using their tdfread() function.

    Another option is that we have a Python API library and you can bring the equations into Python and either plot it within Python or use the scipy library to convert to a .mat file.

    Python in MWO:

    https://kb.awr.com/display/awrscripts/Python 

    Scipy page on saving a .mat file in Python:

    https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.savemat.html

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information