Is it possible to define cstructname for a struct property of a classdef
조회 수: 3 (최근 30일)
이전 댓글 표시
Suppose I have the following class:
Classdef foo
Properties
m_foo=struct('m1',0, 'm2',0)
%coder.cstructname(m_foo,'StructFoo')
End
End
Is there anyway to define cstructname for a struct property of a classdef such as above for the matlab coder?
댓글 수: 0
채택된 답변
Darshan Ramakant Bhat
2020년 1월 14일
Unfortunately coder.cstructname cannot be applied on class properties. I have made an internal note to enhance this restrction in the future release of MATLAB.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!