Azzera filtri
Azzera filtri

How to connect matlab function blocks in the same circuit

2 visualizzazioni (ultimi 30 giorni)
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!

Risposte (1)

Walter iacomacci
Walter iacomacci il 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 Commento
Emily McLean
Emily McLean il 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!

Accedi per commentare.

Categorie

Scopri di più su Circuit Envelope Simulation in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by