Object oriented programming examples

examples from book: MATLAB and Simulink, 3e: User's Guide) by Bogumila and Zbigniew Mrozek
다운로드 수: 2.6K
업데이트 2017/3/19

라이선스 보기

Examples of classes inheritance, public and private attributes and methods from chapter 5.7 of the new edition of book by Bogumila and Zbigniew Mrozek. Comments are in Polish and English language. Save all files in same folder, then run: See also improved OOP examples of "Object oriented program example: animated traffic lights on road intersection" by Bogumila & Zbigniew MROZEK
(files)
(1) m571 -- how to define class and introduce object ,
(2) m573 -- error, as private attribute is not seen outside its object
(3) m574 -- private attribute is seen, if get function is used
(4) m575 -- testing trasa method, do I have enough fuel?
(5) m590 -- inheritance test

인용 양식

Bogumila & Zbigniew MROZEK (2026). Object oriented programming examples (https://kr.mathworks.com/matlabcentral/fileexchange/29637-object-oriented-programming-examples), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Software Development Tools에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.51.0.0

Smaller picture of book cover

1.5.0.0

Minor changes in descrioption
tested with MATLAB (R2016a), changed "Description" .
Description extended

1.4.0.0

Tested with MATLAB 2012B, Screenshot changed.

1.3.0.0

minor changes in Auto.m m571.m m590.m

1.1.0.0

More comments in English language.

1.0.0.0