이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
There are various different ways a structure array S can count as empty:
S has one or more zero numerical dimensions, but has some fields. (SIZE(S) contains at least one zero.) In this case, ISEMPTY(S) returns true.
S has no fields, but all of its numerical dimensions are positive. (SIZE(S) contains no zeros.) In this case ISEMPTY(S) returns false, but the array is empty in the sense of having zero fields and hence no contents.
S has no fields and at least one zero in its size.
S has fields and a non-zero size, but every element is an empty matrix. Strictly, S is not empty, in that the empty matrices are its contents, but this is sometimes a useful structure to create.
Each of the above kinds of "empty" structure arrays can be useful as initializations. They can all be created using STRUCT, but it is not always obvious how to do it simply. This function provides a straightforward way to create these different kinds of structure arrays.
인용 양식
David Young (2026). emptyStruct (https://kr.mathworks.com/matlabcentral/fileexchange/45135-emptystruct), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0.0 |
