Info

此问题已关闭。 请重新打开它进行编辑或回答。

embedded simulink function is not taking value from previous iteration step

1 次查看(过去 30 天)
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
all block sample times are -1 (inherited)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by