How to Initailize MWStructArray
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
How do I initialize my MWStructArray with two fields and 5 elements.
0 comentarios
Respuesta aceptada
Friedrich
el 12 de Jul. de 2011
Hi,
#include "mclcppclass.h"
const char* fields[] = {"a", "b"};
mwArray my_struct(1, 5, 2, fields);
See doc for more:
4 comentarios
Friedrich
el 12 de Jul. de 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)
Más respuestas (0)
Ver también
Categorías
Más información sobre Deploy to C++ Applications Using mwArray API (C++03) en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!