This video demonstrates four principles of object-oriented programming: abstraction, encapsulation, inheritance, and polymorphism. It outlines what each principle is using a basic real-time example. The video then explains how you can implement each principle by demonstrating the syntax and options in MATLAB®.
Additional Resources:
Why use object-oriented design: https://bit.ly/3bpiB1i
Object-oriented programming in MATLAB: https://bit.ly/3qfAeez
How to Create an Object Class in MATLAB: • How to Create an Object Class in MATLAB
Check out the full playlist, which shows how to use MATLAB and Simulink across a range of topics: • “How To” with MATLAB and Simulink
--------------------------------------------------------------------------------------------------------
Get a free product trial: https://goo.gl/ZHFb5u
Learn more about MATLAB: https://goo.gl/8QV7ZZ
Learn more about Simulink: https://goo.gl/nqnbLe
See what's new in MATLAB and Simulink: https://goo.gl/pgGtod
© 2020 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.