MATLAB Answers

RC circuit modeling in Simulink

6 views (last 30 days)
Anirban Roy
Anirban Roy on 7 Dec 2020
Answered: Nitin Kapgate on 15 Dec 2020
Hello,
How do I import this RF blockset into Simulink? I'm using R2020b MATLAB.
When I use the MATLAB recommended command rflib on the MATLAB prompt - it says "Unrecognized function or variable 'rflib'."
What am I missing here?
My eventual goal is to design an RC circuit in Simulink. Could anybody kindly recommend how to proceed? Are there any alternatives outside simscape?
Sincerely,
Anirban

Answers (1)

Nitin Kapgate
Nitin Kapgate on 15 Dec 2020
If your end goal is to design an RC vircuit in Simulink, you don't require RF blockset for that.
You can refer to the example which demonstrates RC Circuit Simulation using Simulink and Simscape .
To open the example in MATLAB, run the following command in the MATLAB Command Window:
ssc_rc_circuit_sl
To run the "rflib" command, you msut have RF Blockset insatalled in your MATLAB Setup.
You can check the output of "ver" command to verify if the RF Blockset is installed your MATLAB.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!