Borrar filtros
Borrar filtros

Uitable - data types

6 visualizaciones (últimos 30 días)
Matt
Matt el 23 de Feb. de 2017
Comentada: Matt el 23 de Feb. de 2017
Hi,
I have an interface with two different GUI windows each with a different uitable. Both contain numbers, and both are formatted with editable columns formatted as 'Custom - Bank' format.
In the cell edit callback, when using the "get" function one table produces data in a double format, and the other in a cell format.
handles.Data = get(handles.DataTable, 'data')
Why could this be? What controls this?
I am absolutely baffled. I want to work with my data in the 'double' form.
Thanks in advance,
Matt
  7 comentarios
Geoff Hayes
Geoff Hayes el 23 de Feb. de 2017
Since you figured out the problem, can you post that as an answer?
Matt
Matt el 23 de Feb. de 2017
Of course, thank you. Have a good day.

Iniciar sesión para comentar.

Respuesta aceptada

Matt
Matt el 23 de Feb. de 2017
Doh, in my thousands of lines of code I have just spotted that I previously preallocated an array with zeros, modified it, then pushed it into the data table.
That explains why the data retrieved from it was in the 'doubles' form. I can do the same for my other table to get data out in 'doubles' form.
Thanks Geoff - I'm in business again - what i'm trying to do should be much easier now.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by