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!

Antworten (1)

Walter iacomacci
Walter iacomacci am 16 Nov. 2020

0 Stimmen

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 Kommentar

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!

Melden Sie sich an, um zu kommentieren.

Produkte

Version

R2019b

Gefragt:

am 15 Nov. 2020

Kommentiert:

am 16 Nov. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by