Unit Converter Matlab Assignment
My Previous Unit Converter Program and the Report is attached on the Files
This part of the project is the last for the unit conversion program and will be based around converting our program to a Graphical User Interface (GUI) with user-defined functions to perform the conversions.
Graphical User Interfaces are what we’re most familiar with when using computer programs; they consist of pop-up windows with buttons, text boxes, drop-down menus, radio buttons and other graphical elements that can be interacted with by a user to input information into the program.
User-defined functions allow for effective code reuse and is good programming practice when creating programs that require the same or similar code to be executed many times.
function out = MyFunction(in1, in2) % Rename function and input/output variables to appropriate name (not MyFunction)
% Insert code here to perform appropriate unit conversions.
out = % Set output variable to the converted value
For this part of the project re-write your unit conversion program so the actual conversions (the mathematics) take place in user-defined functions.
Once you have your user-defined functions written, convert your unit conversion program to a graphical user interface (GUI) using App Designer (DO NOT use the menu() function or GUIDE!!!). Unit Converter Matlab Assignment
You will need to think not only about the way your program will calculate the output required to solve the problem (its functionality) but also how your GUI will look (its aesthetics) and how simple it is for a user to input and receive output from your program (its usability).
Think about the structure of your program, will you use one or many function scripts to convert the units required? Where will error checks be performed? What should the input(s) to the function(s) be? Output(s)? Use comments in your scripts to explain how your function(s) operate.
You are required to submit your MATLAB files (including GUI file (.mlapp) and user-defined function files (.m)) and a report containing an introduction, design methodology, output/evidence of testing and conclusion/future scope.
The final submission should consist of what we’ve done up until now. To fulfil the requirements, you need to do the following:
Describe how well your program has fulfilled the requirements of the task. List any weaknesses with the way the program works and what could be done in future to make the program better (i.e. Extra features that may be beyond the scope of this project/course/development environment). Unit Converter Matlab Assignment