How to Initailize MWStructArray
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How do I initialize my MWStructArray with two fields and 5 elements.
0 Commenti
Risposta accettata
Friedrich
il 12 Lug 2011
Hi,
#include "mclcppclass.h"
const char* fields[] = {"a", "b"};
mwArray my_struct(1, 5, 2, fields);
See doc for more:
4 Commenti
Friedrich
il 12 Lug 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)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Deploy to .NET Applications Using MWArray API in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!