you have edited the built in model of dfig. i need to work on dfig phasor type model but i am not able to make changes in it. it is showing "disable link" when i try to alter any parameter inside the dfig block. can you help regarding this? how did you do it?
i am trying to generate 6 random nmbrs within given range and sum:
xmin=[10 10 40 35 130 125];
xmax=[125 150 250 210 325 315];
it is giving following error:
?? Error using ==> minus
Matrix dimensions must agree.
Error in ==> randfixedsum at 56
s1 = s - (k:-1:k-n+1); % s1 & s2 will never be negative
Error in ==> busdatas at 47