embedded simulink function is not taking value from previous iteration step

Hi
I Have coded Matlab Embedded function to work my solar system at the MPP (incremental conductance). So i took the previous i, V and P and calculate what shouuld be duty cycle. And Tried to reach to the exact duty cycle for my MPP by continuously calculating the duty cycle from the previous step. But it did not take the previous step value rather always took initial D as 0 in each step.
Please to go to the link or download the file copy paste those links on your browser otherwise its not working.

回答 (1 件)

KHALID SAKIB
KHALID SAKIB 2012 年 8 月 28 日

0 投票

all block sample times are -1 (inherited)

この質問は閉じられています。

質問済み:

2012 年 8 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by