How to send data from graph to table in GUI
2 ビュー (過去 30 日間)
古いコメントを表示
I am working on ODE rk method, it is making graph in my GUI but i want to send that graph data on to my GUI table so how i can do that kindly help me
0 件のコメント
採用された回答
Geoff Hayes
2016 年 4 月 24 日
Muhammad - what graph data to you want to send the table? At what point will this data be sent? Please clarify the data and the mechanism that initiates the population of the uitable. If you expect this to happen when you press a button, then in the push button callback you would use the handles structure (assuming that you are using GUIDE) to access the uitable control. For example, if you have one table with its tag unchanged, then you would do something like
% get current data from table
data = get(handles.uitable1, 'Data');
% update the data array with the new data
% newRowData = ???; to be determined by your
data = [data ; newRowData];
% update the table
set(handles.uitable1,'Data', data);
4 件のコメント
Geoff Hayes
2016 年 4 月 30 日
Muhammad - please post the code that you have written so that we can get an idea of what you are attempting to do.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!