Skip to content
KnowledgeCity

MATLAB: Object-oriented Programming

The power of object-oriented programming with MATLAB
Preview the first lesson free — get full access to all 3 lessons.
Course: On-Demand
Intermediate Provider Gabriel Popoola  3 Lessons ·  13m  in Arabic, German, English, Spanish, French, Portuguese, Chinese 

Course Description

Object-oriented programming is a computer programming model that allows the developer to combine data and functions that operate on the data into the same structure, known as an object; this is especially useful for modeling real world systems and devices in software.

The way that an object is defined allows for code specifically for operating on the data to be built into the object itself. Objects themselves have fields and features that are unique to that object in such a way that the objects have specialized behavior. Although there is only one type of object in MATLAB—known as the MATLAB array—the functionality of the MATLAB array varies depending on the data type.

In this MATLAB module, you will discover the principles of object-oriented programming, and the difference between data and data structures. You will also discover how code and general-purpose functions fit into object-oriented programming in MATLAB.

What You'll Learn

  • Understand how data is treated in object-oriented programming (OOP)
  • Recognize the differences in the roles of data and code in OOP
  • Understand the role of general-purpose functions in OOP
  • Explore the principles of object-oriented programming and the difference between data and data structures
  • Examine how the MATLAB array functions differently depending on its data type

Key Takeaways

  • Object-oriented programming is a model that combines data and the functions that operate on that data into the same structure, known as an object.
  • Defining an object allows code specifically for operating on its data to be built into the object itself, giving objects specialized behavior.
  • MATLAB has only one type of object, the MATLAB array, whose functionality varies depending on the data type.
  • The module covers how data, code, and general-purpose functions fit into object-oriented programming in MATLAB.
  • OOP is especially useful for modeling real world systems and devices in software.

Frequently Asked Questions

What does this MATLAB course cover?

The module covers the principles of object-oriented programming, the difference between data and data structures, and how code and general-purpose functions fit into object-oriented programming in MATLAB. Its lessons are Data, Code, and General Purpose Functions.

What is object-oriented programming as defined in this course?

Object-oriented programming is a computer programming model that allows the developer to combine data and functions that operate on the data into the same structure, known as an object, which is especially useful for modeling real world systems and devices in software.

How are objects handled in MATLAB according to this course?

Although there is only one type of object in MATLAB, known as the MATLAB array, the functionality of the MATLAB array varies depending on the data type.

What skills will I gain from this course?

You will build skills in MATLAB, Object Code, Object-Oriented Programming and Systems, Object-Oriented Programming Language, Object-Oriented Design, and Object-Oriented Programming (OOP).