Displaying binary data in a uitable
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How do I show the binary values in a uitable. This was my attempt:
IM=getimage(handles.axes4); %Image data in 16 bit format
data=dec2bin(IM); %get binary representation
%Add all data to uitable
set(handles.uitableResults,'data',[])
columnname={'Binary'};
set(handles.uitableResults,'columnname',columnname);
set(handles.uitableResults,'data',{(data})
2 Kommentare
Jan
am 27 Feb. 2017
And what happens if you run this code? There is a typo in the last line: the orphaned ( bfore "data" is misplaced.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Whos finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!