How to Initailize MWStructArray
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How do I initialize my MWStructArray with two fields and 5 elements.
0 Kommentare
Akzeptierte Antwort
Friedrich
am 12 Jul. 2011
Hi,
#include "mclcppclass.h"
const char* fields[] = {"a", "b"};
mwArray my_struct(1, 5, 2, fields);
See doc for more:
4 Kommentare
Friedrich
am 12 Jul. 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)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Deploy to .NET Applications Using MWArray API finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!