Is it possible to define cstructname for a struct property of a classdef

1 回表示 (過去 30 日間)
retigi
retigi 2020 年 1 月 14 日
回答済み: Darshan Ramakant Bhat 2020 年 1 月 14 日
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?

採用された回答

Darshan Ramakant Bhat
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 件)

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by