Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Darshan Ramakant Bhat
Darshan Ramakant Bhat le 14 Jan 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.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by