How to get data from database in GUI?
古いコメントを表示
Hey, have problem, i work with license plate recognition. At this moument i have create and link database with matlab, but question is how i can get data about driver from database, by license plate numbers, as you can see in file which add. I want to get data in edittext fields, so if someone can help me with simple example. Thanks for yours answers.
1 件のコメント
Geoff Hayes
2016 年 9 月 1 日
Gytis - rather than attaching a zip file, which many of may be reluctant to open, please attach the m and fig files instead.
回答 (2 件)
mbonus
2016 年 9 月 1 日
You can do
get(findobj('tag','objTagName'),'String')
or
get(hObject,'String')
where objTagName is the tag you assigned to the uicontrol('Style','edit',...) and hObject is the handle if it was saved.
3 件のコメント
Gytis Raudonius
2016 年 9 月 3 日
mbonus
2016 年 9 月 7 日
setappdata(0,'VarName',VarName)
getappdata(0,'VarName')
Just make sure that you save it to the root directory (0), that way it can be accessed regardless of whether the GUI has been closed
Gytis Raudonius
2016 年 9 月 11 日
カテゴリ
ヘルプ センター および File Exchange で GigE Vision Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!