Is it possible to define cstructname for a struct property of a classdef
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
retigi
il 14 Gen 2020
Risposto: Darshan Ramakant Bhat
il 14 Gen 2020
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 Commenti
Risposta accettata
Darshan Ramakant Bhat
il 14 Gen 2020
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 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!