How to connect matlab function blocks in the same circuit

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)

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

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

Asked:

on 15 Nov 2020

Commented:

on 16 Nov 2020

Community Treasure Hunt

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

Start Hunting!