Simulink subsystem with electric circuits?
13 ビュー (過去 30 日間)
古いコメントを表示
Kevin Bachovchin
2016 年 1 月 17 日
回答済み: Sebastian Castro
2016 年 1 月 18 日
Hello,
I know that it is possible in Simulink to have subsystems with some input and output where you have mathematical operations inside the subsystem. Is there a way to have a subsystem with an electric circuit rather than mathematical operations?
For example, say my subsystem is an RC (resistor, capacitor) circuit with a DC voltage source. Is there a way to have the value of the DC voltage source be an input to the subsystem and the resulting voltage across the resistor be an output of the subsystem? When I click on the voltage source block, in the resulting popup there is a parameter called “voltage”. Is there a way to set that voltage equal to the port input to the subsystem?
Thank you,
Kevin
0 件のコメント
採用された回答
Sebastian Castro
2016 年 1 月 18 日
Then, the same principles as in Simulink to create a subsystem hold. You can use the signals entering the voltage source/leaving the voltage sensor as subsystem interfaces.
- Sebastian
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Subsystems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!