Adding methods to "timetable" class

I am trying to add a method to built-in class "timetable". I was able to do it with other class like "double" by just adding "@double" directory and putting files there. Doesn't seem to work "timetable". Any ideas why is this the case and how to accomplish what I am trying to do?

답변 (1개)

Walter Roberson
Walter Roberson 2018년 12월 10일

0 개 추천

>> dbtype timetable 1:2
1 classdef (Sealed) timetable < tabular
So timetable is a Sealed class, which means it does not permit any subclassing. That is likely interferring with you attempting to add additional methods.

카테고리

도움말 센터File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

질문:

2018년 12월 9일

답변:

2018년 12월 10일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by