How can I get a signal from Simulink, use it in a calculation in Matlab, and use this in a feedback loop?

조회 수: 2 (최근 30일)
I am trying to implement a power system in Simulink. I have made a functioning model of a hydro power plant with generator etc. I want to take the signal from the power plant, put it into an equation in a Matlab script, and use the results from the calculation in a feedback loop in the Simulink model. What kind of block in Simulink can I use to get this to work?

채택된 답변

Sebastian Castro
Sebastian Castro 2015년 9월 18일
You should be able to use a MATLAB Function block for this.
- Sebastian

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by