mat file data to GUI table
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Yusran Said
el 9 de Ag. de 2017
Comentada: Walter Roberson
el 10 de Ag. de 2017
how to show specific row in gui table from mat file, that is identity ppl that have a car, i make license plate recognition, i need to show up the specific data in table if my program succesfull read the number plate i try this but cant show
myData = load('dataplat.mat');
% update the uitable
set(handles.uitable1,'Data',myData.myCellArray);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166608/image.png)
7 comentarios
Respuesta aceptada
Walter Roberson
el 10 de Ag. de 2017
Do not name your gui "table": you are confusing MATLAB, which thinks table() is for creating table objects https://www.mathworks.com/help/matlab/ref/table.html which are not related to the display tables, uitable()
2 comentarios
Yusran Said
el 10 de Ag. de 2017
Editada: Walter Roberson
el 10 de Ag. de 2017
Walter Roberson
el 10 de Ag. de 2017
At the command line command
dbstop if error
and run your program. When it stops with the error, look at
fieldnames(myData)
whos -file dataplat.mat
I suspect your dataplat.mat does not contain a variable named "myCellArray".
Más respuestas (0)
Ver también
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!