Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Tom
Tom el 16 de En. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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

Respuestas (0)

La pregunta está cerrada.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by