Beruflich Dokumente
Kultur Dokumente
BE II YEAR
2017-2018
SOFTWARE WORKSHOP
EI-27992
DATA EXPORTING TO EXCEL
1
ACKNOWLEDGEMENT
It has been great honour and privilege to undergo this initiative of report
writing. We are very much thankful to our teachers, parents, seniors and
friends for providing all facilities and support to meet our project
requirements.
We would like to take opportunity to express our humble gratitude.
Their constant guidance and willingness to share their vast knowledge
made us understand this undertaking and its manifestations in great
depths and helped us to complete the assignment task.
Although there may be many who remain unacknowledged in this
humble note of gratitude there are none who remain unappreciated.
2
PREFACE
It gives us immense pleasure in presenting a report on “DATA
EXPORTING USING MATLAB”. Through the preparation of this
report, we have endeavoured to highlight the functionality of MATLAB.
Through this report we have emphasized the ideas and functionality on
the MATLAB and GUI.
Our study also focuses on the GUI and exporting data from MATLAB to
EXCELL sheet.
3
COPYRIGHT NOTICE
4
LETTER OF TRANSMITTAL
To
The Director
SGSITS Indore
Date: 7th April 2018
Ref no. : SGSITS/15/2018
Dear Sir,
Subject: Letter of transmittal on “Matlab report”.
Thanking You
YOURS SINCERELY
All the group members.
5
INDEX
S.No. Title Page
no.
1 Cover page i
2 Title page ii
3 Acknowledgement iii
4 Preface iv
5 Copyright Notice v
6 Letter of transmittal vi
9 Abstract 7
10 Introduction 8
11 Code 14
12 Working 21
13 Uses 22
14 Future Aspects 23
15 Advantages and Disadvantages 24
16 Reference 25
6
Absatract
7
INTRODUCTION
What Is MATLAB?
10
SCREENSHOTS
11
12
13
CODE
14
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Outputs from this function are returned to the command line.
function varargout = regform_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
15
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns
called
16
c= get(handles.edit3,'string');
17
% str2double(get(hObject,'String')) returns contents of edit7
as a double
e= get(handles.edit7,'string');
18
set(handles.edit8,'string','');
set(handles.edit9,'string','');
set(handles.edit10,'string','');
msgbox('Saved!!');
19
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'),
get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
20
WORKING
The project is GUI (Graphical User Interface) based . The basic work of
the Registration Form is to export the data entered in the form to the
excel sheet. In the opening function of GUI we have ‘date’ fuction
which gives the current date and ‘fix(clock)’ function which gives both
current date and time in the form of row matrix from which we have
extracted time components and concatenated them using ‘strcat’
function . The sole purpose of writing these function in opening function
is to display the date and time as soon as the form is opened.
21
Uses
This form has multiple uses in collecting data from a number of sources
and at the same time this data can be made available in excel sheet.
Following
are the uses of this from:
1. To get data directly from people and store it in excel sheet.
2. To use as a registration form.
3. Getting submission time of form from the Matlab itself.
4. Can be used to register data of participants for an event.
5. It can be used as admission or application form.
22
Future Aspects
This form can be modified to send the data to the 3rd party using E-mail.
In case of registration form, an registration no. can be sent to user as
soon as he/she fills the form.
23
Advantages and Disadvantages
Advantages
It can be customised as per the requirement of entries in the form.
It simplifies the data entry process as compared to direct data entry
in Excel.
Disadvantages
It can’t be used for online data sending through windows 8 and 10.
It cannot edit the data that has already been input.
24
References
www.mathworks.com
www.google.com
www.wikipedia.com
25