How to Initailize MWStructArray
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How do I initialize my MWStructArray with two fields and 5 elements.
0 commentaires
Réponse acceptée
Friedrich
le 12 Juil 2011
Hi,
#include "mclcppclass.h"
const char* fields[] = {"a", "b"};
mwArray my_struct(1, 5, 2, fields);
See doc for more:
4 commentaires
Friedrich
le 12 Juil 2011
Maybe look at the phonebook example provided in the doc:
http://www.mathworks.com/help/releases/R2011a/toolbox/dotnetbuilder/ug/brl3b0g-1.html
(click on the PhoneBookApp.cs)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deploy to .NET Applications Using MWArray API dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!