Saving edit toolbox into mat file
19 ビュー (過去 30 日間)
古いコメントを表示
After extracting the features of an image. The result will be appear in the edit toolbox.I want to happen now is, I want to save it as mat file but in one column only. Please help me!

2 件のコメント
Geoff Hayes
2016 年 9 月 28 日
Hazel - do you mean to save all ten values from the edit textbox as a column to some mat file? When would this action occur?
回答 (1 件)
Geoff Hayes
2016 年 9 月 29 日
Hazel - since you just want to get the values that have been written to the text controls, just do something like the following in your save button callback
function save_Callback(hObject,event,handles)
dataToSave = [];
dataToSave = [dataToSave str2double(get(handles.text1,'String'))]; % mean
dataToSave = [dataToSave str2double(get(handles.text2,'String'))]; % sd
% etc.
save('myData.mat','dataToSave');
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Printing and Saving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!