Error: No method 'Set' with matching signature found for class 'System.String[]'.
Afficher commentaires plus anciens
Can somebody explain an error please? Resulting from this code.
Fluid1_Data = NET.createArray('System.String',5);
Fluid1_Data.Set(0, 'Water'); % First data input
"etc." % 4 more inputs
The code creates a string to be used as an input to a calculation referencing a DLL file in C#.
The arrays can be created and calculations works when using the command window, but not when created as an S-function.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!