<html>
<head>
<base href="http://bugzilla.scilab.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Index 2-D cells with single index just destroy the cell. ** Accessing matrice"
href="http://bugzilla.scilab.org/show_bug.cgi?id=6812">bug 6812</a>
<br><br>
---------- Bug Summary ----------- <br>Index 2-D cells with single index just destroy the cell. ** Accessing matrice <br><br>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Keywords</td>
<td>FIXED_in_scilab_6.0, nonregression_test_missing
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Component</td>
<td>Install
</td>
<td>Scilab
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>vincent.couvert@scilab-enterprises.com
</td>
<td>bugzilla.admin@scilab.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Index 2-D cells with single index just destroy the cell. ** Accessing matrice"
href="http://bugzilla.scilab.org/show_bug.cgi?id=6812#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Index 2-D cells with single index just destroy the cell. ** Accessing matrice"
href="http://bugzilla.scilab.org/show_bug.cgi?id=6812">bug 6812</a>
from <span class="vcard"><a class="email" href="mailto:sgougeon@free.fr" title="Samuel GOUGEON <sgougeon@free.fr>"> <span class="fn">Samuel GOUGEON</span></a>
</span></b>
<pre>The right syntax was c.entries(i)=i instead of c(i).entries = i :
// Scilab 5.5.2:
c = cell([2,2])
for i = 1:4
c.entries(i) = i
end
-->c = cell([2,2])
c =
!{} {} !
!{} {} !
-->for i = 1:4
--> c.entries(i) = i
-->end
c =
!1 {} !
!{} {} !
c =
!1 {} !
!2 {} !
c =
!1 3 !
!2 {} !
c =
!1 3 !
!2 4 !</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>