Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

embedded simulink function is not taking value from previous iteration step

1 vue (au cours des 30 derniers jours)
KHALID SAKIB
KHALID SAKIB le 28 Août 2012
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.

Réponses (1)

KHALID SAKIB
KHALID SAKIB le 28 Août 2012
all block sample times are -1 (inherited)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by