what is the best way to perform multiple calculation in simulink project ?

1 visualización (últimos 30 días)
omar khater
omar khater el 28 de Feb. de 2019
Respondida: Sabin el 7 de Mzo. de 2023
Hello
I am a beginner in simulink. I have very simple circuit that I want to simulate like this
I wish to enter multiple values for current source and measure the voltage across the 1kOhm resistor
what is the best way to do that ? is there a way to create this circuit in matlab script and store my wanted variables or can I do it using simulink itself ?
I hope this question is not repeated since I am trying to figure out suitable name for the function I want to know to search before asking but I didn't get it.

Respuestas (1)

Sabin
Sabin el 7 de Mzo. de 2023
To easily change the value of the current source you can use a Controlled Current Source instead. To measure the voltage you can use a Voltage Sensor, a Probe block, or Simulation Data Logging.

Categorías

Más información sobre Variable Initialization en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by