Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

.net array failed to acces array (error method () not available)

2 vues (au cours des 30 derniers jours)
Tom
Tom le 16 Jan 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi,
I have a .net assembly. When I call the function var1 = assembly0.methodassembly1.assembly1in1; text = var1(5).ToString();
then I get a string back from the .net variable. When I however try to access the string directly by the following:
text = assembly0.methodassembly1.assembly1in1(5).ToString();
assembly1in1 is thus a method which returns an array. Calling this array directly fails but when I create an extra variable it does not fail. (this used to work in 2010b)
I get an error method () not found. This worked in matlab 2010b but does not seem to be working in matlab 2012b.
Please help me for me to understand what I did wrong.
Tom Wambecq

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by