How to connect matlab function blocks in the same circuit

3 views (last 30 days)
I have created a model for a resistor and transistor using seperate Matlab function blocks. I want to encorperate these into the same circuit. Does anyone know the best way to do this?
Thanks!

Answers (1)

Walter iacomacci
Walter iacomacci on 16 Nov 2020
Hi Emily.
I can't understand properly your question but, If you are trying to set values of resistors and transistors previously calculated with a Matlab function all you have to do is send those values to workspace and then call them with the same name on the resistor/transistor parameters.
  1 Comment
Emily McLean
Emily McLean on 16 Nov 2020
Hi Walter,
Thanks for your reply! I have used the Matlab function block to create my own resistor and transistor blocks in Simulink using matlab code. I want to connect these together in Simulink to create a common emitter amplifier circuit but I am not sure how to do this. Hopefully this is clearer.
Thanks!

Sign in to comment.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!