Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

embedded simulink function is not taking value from previous iteration step

1 view (last 30 days)
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.

Answers (1)

KHALID SAKIB
KHALID SAKIB on 28 Aug 2012
all block sample times are -1 (inherited)

This question is closed.

Community Treasure Hunt

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

Start Hunting!