Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Tom
Tom am 16 Jan. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 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

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by