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

1 回表示 (過去 30 日間)
omar khater
omar khater 2019 年 2 月 28 日
回答済み: Sabin 2023 年 3 月 7 日
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.

回答 (1 件)

Sabin
Sabin 2023 年 3 月 7 日
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.

カテゴリ

Help Center および File ExchangeVariable Initialization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by