微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > ADS Does not recognize ael expression code

ADS Does not recognize ael expression code

时间:04-04 整理:3721RD 点击:
Hi,

I am trying to run .ael expression file for a circuit simulation results.

1) I copy mycode.ael to expression/ael folder
2) I open user_defined_fun.ael and write load("mycode.ael")
3) I restart ADS

but still when I do run, in dds results window it does not recognize the function I have loaded.

Could anyone help me please ? Thank you.


user_defined_run


// Copyright 1999 - 2014 Keysight Technologies, Inc
// Do not add any function in this file.
// This is reserved for user defined functions.

load("area_curve");

//
// ***** DO NOT DELETE THE FOLLOWING! *****
//
// This obviously isn't a C++ file, but the C++ editing mode works.
//
// Local Variables:
// mode: c++
// header-comment-character: ?*
// header-prefix: "/* -*-C++-*-"
// header-suffix: "*/"
// End:

There are different ways and places to load custom equations, so let's be more specific what files in what directories you changed. Do you refer to expression/ael/user_defined_fun.ael in the ADS installation directory?

In your example above, you show a call
load("area_curve");
Is this the actual name of your *.ael file?

Maybe there is a syntax error in your file, so that it fails when ADS tries to compile it. Check if ADS created the compiled *.atf for your file, otherwise there is some error in your file and then it doesn't load.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top