0

I use GUIDE to create a uitable and load data into it, which looks like:

uitable image

My question is: How to display the numbers without using scientific notation?

I have tried this but failed:

format long g  
set(handles.uitable1,'Data',data)

Furthermore, since I will do some calculation of the number and save it to an excel file, I wish it could remain as a numeric array, not changing it to string.

Sardar Usama
  • 19,536
  • 9
  • 36
  • 58

1 Answers1

0
  • Go to the table in your .fig file, right click on the table and select "Table Property Editor".
  • At the column definitions, you will see a column named "Format". Choose custom from the dropdown as shown below:

    Table Property Editor

  • Now choose how you want the output to be.

    Custom Format Editor

Sardar Usama
  • 19,536
  • 9
  • 36
  • 58
tolutronics
  • 21
  • 1
  • 7