Professional Documents
Culture Documents
Todays Objectives
Approach:
Interactively explore data and develop
analysis approach
( )
2 2
2
2
Demo Summary
Products Used
MATLAB
Statistics Toolbox
structure
Maintainable
Data types (structures, cell arrays, objects)
Function types (subfunctions, nested functions,
private functions, packages)
Robust
Error checking and validating inputs
(validateattributes, validatestring, error, inputParser)
Development tools
Editor, Debugger, Code Analyzer, Profiler
8
Package as an app
Deploy applications to
other environments
Automatically generate
standalone C code
10
High-level language
Matrix-based
Math and graphics functions
Traditional programming
language features
Summary
The MATLAB Language
High-level language
Matrix-based
Supports a range of programming styles
No need for low-level administrative tasks
Summary
MATLAB Development Environment
Command Window
Provides immediate results by
interactively executing commands
Data visualization
MATLAB Editor
Debugger
Code Analyzer
MATLAB Profiler
Summary
Multiple Ways to Get Help
doc
help <name>
Function Browser,
function hints,
tab completion
14
Resources
Webinars
Object-Oriented Programming in MATLAB
MATLAB for C/C++ Programmers
MATLAB to C Made Easy
MATLAB Central
Open exchange for the MATLAB
and Simulink user community
15
MATLAB Central
File Exchange
Download free files
Over 10K available including functions,
apps, examples, and models
MATLAB Answers
Ask programming questions
Search 18K+ existing answers
Cody
Challenge and expand your
knowledge of MATLAB
Blogs
Read commentary from MathWorks engineers who
design, build, and support MATLAB and Simulink
16