can someone explain this error?
조회 수: 2 (최근 30일)
이전 댓글 표시
Unrecognized method, property, or field 'CurrentFileIndex' for class 'matlab.io.datastore.CombinedDatastore'.
Error in snake (line 41)
if allImages.CurrentFileIndex <= height(aplostisiImages.Files)
댓글 수: 1
Torsten
2024년 7월 16일
can someone explain this error?
The structure "allImages" does not have a method, property or field 'CurrentFileIndex'.
답변 (1개)
Muskan
2024년 7월 17일
Hi,
As per my understanding, the error message you are encountering indicates that you are trying to access a method, property, or field named "CurrentFileIndex" on an object of "class matlab.io.datastore.CombinedDatastore", but this class does not have a member by that name.
Here are some of the steps that might help tp troubleshoot the error:
- Verify the Class Documentation: Please refer to the following documentation of "CombinedDatastore" to understand its properties and methods. https://www.mathworks.com/help/matlab/ref/matlab.io.datastore.combineddatastore.html
- Use Available Properties and Methods: Identify the correct properties or methods to achieve your goal. For example, if you want to check the number of files in the datastore, you might need to use a different property or method.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!