return Nothing from matlab dll in vb.net

1 vue (au cours des 30 derniers jours)
Abdullah Yaquot
Abdullah Yaquot le 28 Juil 2019
I tried to solve this and did not get it, the problem that
I have a MatLab DLL file with a function looks like this
[tmin, mawp,sigma,tmin_c,tmin_l,segma_c,segma_l] = cylindrical(a,b,c,d,e,f)
I did reference the dll and the mwarray dll,
when I call the MatLab's obj to the function it returns nothing,
and if I use an index to map the array it gives an invalid index error.
I am sorry if I didn't make myself clear, but I hope the code will.
this is vb.net program uses Matlab function to calculate some values,
I tried to make the output as an array using ToArray function
but it didn't work I tried so many things but I am stuck here guys,
appreciate your help
code
===========
'after importing dlls
Dim matlab As MAWP_CYL = New MAWP_CYL() 'this to matlab obj
Dim result = matlab .Cylindrical(1,1,1,1,1,1).ToArray()
'using any numbers
'here result have nothing when debugging,
=============================================
the result has nothing, not an array or any form of lists.

Réponses (0)

Catégories

En savoir plus sur Deploy to .NET Applications Using MWArray API dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by