[Scilab-Dev] x_mdialog for editing matrices

Samuel GOUGEON Samuel.Gougeon at univ-lemans.fr
Mon Jun 1 00:35:53 CEST 2009


(Follow-up redirected to users@ instead of dev@ )
----- Message d'origine -----
De : Kirill Kirillov
Date : 01/06/2009 00:17:
> Hi!
>
> I've tried to use x_mdialog function for editing matrices using idea
> found in Scilab demos (GUI dialog example), but it seems that this
> function is not suitable for this.
>
> Take a look at the following example:
> rows = ['row1' 'row2'];
> cols = ['col1' 'col2' 'col3'];
> test = [1 1 1; 0 0 0];
> x_mdialog('Testing', rows, cols, string(test))
>
> Results:
> 1) [1 0 1; 0 1 0] in row1 and row2 instead original [1 1 1; 0 0 0];
> 2) col1, col2 and col3 should be shifted to be above correspondent cells
>
> Are these bugs?
>   
Strange, indeed.
Have you tried with x_matrix() ?




More information about the users mailing list