Object-Oriented Programming Onramp | Self-Paced Online Courses - MATLAB & Simulink (original) (raw)
Object-Oriented Programming Onramp
Learn about object-oriented programming, a programming design approach that involves defining elements called objects. Objects combine data (properties) and functions (methods) that operate on that data.
Course modules
Course Overview
Get an overview of the course and the course example.
Lessons:
- Course Overview
- Custom Data Types for an Orienteering System
Create Custom Classes
Write class definitions that specify properties and functionality of custom data types.
Lessons:
- Create a Class
- Classes Within Classes
- Add Functionality to Your Class
- Constructor Methods
- Overloading and Precedence
- Summary
Control Access and Behavior
Add protections to your class definitions that make your classes robust and easy to use.
Lessons:
- Adding Safeguards
- Specify How Properties Are Stored
- Validate Method Inputs
- Default Values and Implicit Method Calls
- Restrict Access to Properties and Methods
- Summary
Conclusion and Next Steps
Learn next steps and give feedback on the course.
Lessons:
- Different Kinds of Classes
- Additional Resources
- Survey
Format:Self-paced
Language:English
Language
- Hands-on exercises with automated feedback
- Access to MATLAB through your web browser
- Shareable progress report and course certificate
MATLAB Onramp
Get started quickly with the basics of MATLAB.
The How and Why of Writing Functions
Increase the flexibility of your code by writing custom functions.