필터 지우기
필터 지우기

Increase parameter value during Simulink simulation

조회 수: 3 (최근 30일)
Christo van Rensburg
Christo van Rensburg 2020년 9월 5일
댓글: Christo van Rensburg 2020년 9월 5일
Good day everyone,
I'm attempting to gradually increase a value during a simulink simulation. It is a single value that I divide into three vectors to generate pulses as part of the PWM of a variable frequency drive system.
The time vector I'm aiming to change is 'time1'. In a MATLAB script I create this vector to be of size (1000,2). I need a way to read each individual entry of that matrix as time passes in the simulation. I understand the time steps used in MATLAB and Simulink are different which complicates the situation even further.
Any suggestions on how I could accomplish this in Simulink itself rather than using a MATLAB script?
Thanks
  댓글 수: 2
Paresh yeole
Paresh yeole 2020년 9월 5일
Use lookup table.
Christo van Rensburg
Christo van Rensburg 2020년 9월 5일
I can maybe see how that would work, but using lookup tables won't change the entries in the matrix 'time1' as far as I understand it.
I want the pulse generator to use a specific row of values of 'time1' when the simulation runs.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by