Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
??? In an assignment A(I) = B, the number of elements in B and I must be the same.
When ii = 1, all is fine but when ii = 2 an error occurs. For the state above for Line 5...

C++
q=50;
simOut=zeros(1,length(q));
for ii = 1:length(q)
   alp1 = ii;
   simOut(ii) = sim( 'PFM_alp4' );
end
simOut = sim( 'PFM_alp4', 'SaveOutput', 'on' );
results = simOut.get( 'yout' );



Thanks
Posted
Updated 3-Feb-14 3:22am
v3
Comments
Mehdi Gholam 3-Feb-14 9:04am    
... and what is the error?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900