Does fileDatastore not implement "matlab.io.Datastore"?

조회 수: 1 (최근 30일)
Eike Blechschmidt
Eike Blechschmidt 2021년 7월 26일
I'm currently developing a custom datastore that takes an existing datastore and adds some features.
In the constructor I would like to make sure that a passed argument is of type "matlab.io.Datastore" so I do:
assert(isa(ds, "matlab.io.Datastore"), ...)
This works fine for another custom datastore that directly implements "matlab.io.Datastore" but it does not work when das is created using
ds = fileDatastore(...)
fileDatastore. Form digging around in the source of "matlab.io.datastore.FileDatastore" I found out that it at some point implements "matlab.io.Datastore" but still above is not wokring. Am I missing somehting obvious?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Datastore에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by