Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

embedded simulink function is not taking value from previous iteration step

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

KHALID SAKIB
KHALID SAKIB il 28 Ago 2012
all block sample times are -1 (inherited)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by