From MATLAB Scripts to Complete Programs

01

Course Overview

This MATLAB training course teaches attendees how to create MATLAB programs composed of separate functional modules, advancing beyond simplistic scripts often used by MATLAB beginners. Students also learn programming design principles, as well as debugging and unit-testing for improved program reliability.

02

Key Learning Areas

  • Transition from script-centric code to a program-centric one
  • Apply good design principles to their code
  • Understand various data-passing mechanisms between program components
  • Use MATLAB timers for periodic or scheduled code
  • Leverage MATLAB’s built-in debugger to detect and resolve bugs
  • Use MATLAB’s built-in unit-testing framework to improve program reliability


03

Course Outline

Introduction to MATLAB Programming

  • So, what’s wrong with using scripts?
  • Anatomy of a MATLAB function
  • Input and output arguments
  • MATLAB function types
  • Using function handles
  • Function call precedence
  • MATLAB’s command/function duality

Programmatic Aspects

  • Variables scope
  • Flow control
  • Passing data between program components
  • Protecting source code IP using pcode

Improving Code Reliability and Robustness

  • Coding conventions and best practices
  • Using the MATLAB Debugger
  • Code coverage with the MATLAB Profiler
  • MATLAB’s unit-testing framework
  • MATLAB’s Code Analyzer
  • Folder-level reports: Code Compatibility, Contents, Coverage, Dependency

Teamwork

  • GIT/SVN integration
  • MATLAB Projects
  • Tradeoff considerations using shared network access
04

Who Benefits

05

Prerequisites

  • Students should be comfortable using the MATLAB environment.
  • No prior programming experience or familiarity is assumed for this course. However, familiarity with programming in any language would be helpful.
Want this course for your team?

Atmosera can provide this course virtually or on-site. Please reach out to discuss your requirements.

Atmosera is thrilled to announce that we have been named GitHub AI Partner of the Year.

X