I am developing a small programme in Matlab using GUI. How can I generate reports in Matlab?
Mostrar comentarios más antiguos
I am developing a small programme in Matlab using GUI. How can I generate reports in Matlab?
Respuestas (2)
D. Suresh Kumar
el 7 de Feb. de 2014
0 votos
3 comentarios
ES
el 7 de Feb. de 2014
If it is just the uitable's data, you can export it into an excel file. If you have other components, like plot(axes) etc, you can save them as figures.
Eg:
You may have a button to save the data. in the call back function of the button,
%For uitable data
uitable_data=get(handles.uitable,'data');
[sFileName, sPathName] = uiputfile('*.xls', 'Save data as')
sFullFileName=fullfile(sPathName,sFileName)
xlswrite(sFullFileName,uitable_data);
Similarly you can save the axes etc by calling saveas function!
ES
el 7 de Feb. de 2014
additionally, when you export data into Excel or csv or mat, you can re load the same data by using 'xlsread', 'csvread' and 'load' respectively!!!
D. Suresh Kumar
el 7 de Feb. de 2014
Categorías
Más información sobre Workspace Variables and MAT Files en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!