Hi all,<br><br>I have some piece of code and noticed some strange behaviour. As the code is complex and involves external compilation, it is a little bit difficult to post it here, so I will try to explain it in a general way.<br>
<br>At some point in the code, I have a structure called interpolados, having 3 matrices. So, I have<br><br>interpolados(1).matriz<br>interpolados(2).matriz<br>interpolados(3).matriz<br><br>all of them are sized 497 x 95.<br clear="all">
<br>Later on, when trying to substitute a column of one of this matrices, I get it destroyed.<br>The syntax I'm using is:<br><br>interpolados(1).matriz(:,3)=13<br><br>I was expecting to maintain the matrix and change only its third column, all with 13. Actually what I'm getting is that interpolados(1).matriz is no longer 497 x 95, but 497 x 1 (only 1 column, all full with 13).<br>
<br>System summary: Ubuntu 10.10 64bit + Scilab 5.3.2<br><br>Has anybody experienced that? Any issues?<br><br>Regards,<br><br><br>-- <br>Eduardo Torrecillas<br>