How do I use the SETOP function in RF Toolbox 2.4 (R2008b) ?

1 view (last 30 days)
The documentation states that the SETOP function changes the operating conditions of a circuit or data object to those specified by the condition/value pairs. However, it does not give an example on how to use this function.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
The condition/value pairs are defined in the .p2d or .s2d files. Some example .s2d files should be located in the $MATLABROOT/toolbox/rf/rfdemos directory. For instance, the default.s2d file has a condition called "Bias" defined.
Execute the following commands at the MATLAB prompt to create the data object and view the possible values:
a = read(rfckt.amplifier,'default.s2d');
setop(a)
To define additional condition/value pairs in the .p2d or .s2d file, simply edit the file and add "VAR $condition=$value" entries.

More Answers (0)

Categories

Find more on Automotive in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2008b

Community Treasure Hunt

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

Start Hunting!