[Scilab-users] uicontrol TABLE

Samuel Gougeon sgougeon at free.fr
Wed Dec 21 16:56:57 CET 2016


Hello,

This bug was fixed during the last summer, after the 6.0.0-b2 release.
You may install (3mn. No need to uninstall your current Scilab)
and use the nightly built release:
http://www.scilab.org/fr/development/nightly_builds/master

HTH
Samuel Gougeon

Le 21/12/2016 16:50, Daniele Tonelli a écrit :
> Hello,
>
> I don't understand how get the value handly modified from a uicontrol 
> table. I modify the table in the GUI, but I can´t get the new values.
>
> Thanks,
>
> Daniele
>
> // Include an editable table into a figure:
> // Building a table of data:
> params = [" " "Country" "Population [Mh]" "Temp.[°C]" ];
> towns = ["Mexico" "Paris" "Tokyo" "Singapour"]';
> country = ["Mexico" "France" "Japan" "Singapour"]';
> pop = string([22.41 11.77 33.41 4.24]');
> temp = string([26 19 22 17]');
> table = [params; [ towns country pop temp ]]
>
> f = gcf();
> clf
> as = f.axes_size; // [width height]
> ut = uicontrol("style","table",..
> "string",table,..
> "position",[5 as(2)-100 300 87],.. // => @top left corner of figure
> "tooltipstring","Data from majors towns")
>
> // Modify by hand some values in the table. Then get them back from 
> the ui:
> matrix(ut.string,size(table))/listinfo/users




More information about the users mailing list