What is Object-Oriented Programming in MATLAB?

preview_player
Показать описание
Object-oriented programming is a design approach that enables you to programmatically define structures called objects that combine data (properties) together with functions that operate on that data (methods). In MATLAB®, you can create objects that model the behavior of devices and systems in the real world. Those objects can then be used as building blocks in applications used to simulate and analyze complex systems. This video provides an overview of object-oriented programming and guides you through an example that highlights the features and capabilities of MATLAB that support this programming design approach.

0:00 What is Object-Oriented Programming?
1:04 Object-Oriented Programming in MATLAB
2:04 Example: Orienteering with Object-Oriented Programming
3:18 Properties and Methods
4:30 Constructor Methods
5:48 Superclasses and Subclasses
7:04 Property Validation and Access Restrictions
8:37 Conclusion and Next Steps

--------------------------------------------------------------------------------------------------------

© 2024 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
Рекомендации по теме
Комментарии
Автор

You are an outstanding teacher! Thank you!

nandi