How to connect matlab function blocks in the same circuit

7 vues (au cours des 30 derniers jours)
Emily McLean
Emily McLean le 15 Nov 2020
Commenté : Emily McLean le 16 Nov 2020
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!

Réponses (1)

Walter iacomacci
Walter iacomacci le 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 commentaire
Emily McLean
Emily McLean le 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!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Circuit Envelope Simulation dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by