MATLAB & Simulink

Language and Programming

Practical MATLAB Programming Techniques
Hands-on Course with Practical Exercises

Course Highlights
 

Building robust application in MATLAB requires skills and knowledge on how to write optimized code in term of performance, to effectively utilize development tools, and to ensure the code correctness through test framework. This two-day hands-on training is designed for intermediate users of MATLAB who wants to gain understanding on structuring data, managing data efficiently, using MATLAB project to deal with large code, generating custom warnings and errors, selecting appropriate type of MATLAB function, and writing test scripts and functions.

 

Topics include:

  • Structuring data

  • Managing data efficiently

  • Utilizing development tools

  • Structuring code

  • Creating robust applications

  • Verifying application behavior

.
Course Benefits

Upon the completion of the course, the participants will be able to

  • utilize integrated tools to manage code, diagnose problem, debug applications, and measure performance.

  • create tests to verify that code meets requirements.

  • create robust applications that withstand unexpected input and produce meaningful errors.

  • modularize code into readable and maintainable functions.

  • use common techniques for improving performance when storing, accessing, and processing data.

 

 

Who Should Attend

This course is intended for intermediate users of MATLAB who needs to create robust applications and manage large code efficiently.

 

 

Course Outline

 

Day 1 of 2
 

Structuring Data
Objective: Explore choices for storing data within a MATLAB application.

 

  • Data types

  • Concatenation and conversion

  • Cell and structure arrays

  • Extracting data

 

 

Managing Data Efficiently
Objective: Use common techniques for improving performance when storing, accessing, and processing data.

 

  • Preallocation

  • Vectorization

  • Memory management

  • Objects and classes

 

Utilizing Development Tools
Objective: Use integrated tools to manage code, diagnose problems, debug applications, and measure performance.

 

  • Managing files with Projects

  • Finding potential problems in code

  • Debugging code

  • Assessing code performance

  • Using source control

 

 

Day 2 of 2

 

Creating Robust Applications
Objective: Create robust applications that withstand unexpected input and produce meaningful errors. Use built-in MATLAB functions and programming constructs and employ standard techniques for handling error conditions.

 

  • Creating flexible function interfaces

  • Checking for warning and error conditions

  • Working with the try-catch construct and MException objects

 

Structuring Code
Objective: Modularize code into readable and maintainable functions. Explore the different function types available in the MATLAB language and the trade-offs associated with each type. See how function type affects the performance and reliability of the code
.

 

  • Private functions

  • Local functions

  • Nested functions

  • Function handles

  • Precedence rules

  • Comparison of function types

 

Verifying Application Behaviour
Objective: Create tests to verify that code meets requirements.

 

  • Writing test scripts

  • Running test scripts

  • Using test functions

Prerequisites

MATLAB Fundamentals

Partners 

09_MW_logo_RGB.jpg

Upcoming Program

Techsource Systems is
Mathworks Sole and Authorised Distributor and Training Partner

xilinx ATP 黑.png