Impossible to delete a "element" of a structure
Reported by sylvain.lalot
BUG DESCRIPTION:
----------------
The short script given below worked fine at least until scilab 5.5.2 when the "answer" was :
demo(4)=[]
demo =
9x1 struct array with fields:
a
b
This was what I expected but it no longer works in Scilab 6 (alpha 2)
ERROR LOG:
----------
Unknown field : dims.
at line 14 of function %s_i_st ( C:\PROGRA~1\SCILAB~1.0-A\modules\overloading\macros\%s_i_st.sci line 23 )
in builtin exec ( C:\Users\sylvain\Documents\challenge_GE\Scilab\bug_2_scilab_6_alpha_2.sce line -1 )
HOW TO REPRODUCE THE BUG:
-------------------------
clc
clear
xdel(winsid());
for i=1:10
demo(i)=struct('a',[i i*2],'b','demo '+string(i));
end
demo(4)=[]
OTHER INFORMATION:
------------------