フィルターのクリア

return Nothing from matlab dll in vb.net

2 ビュー (過去 30 日間)
Abdullah Yaquot
Abdullah Yaquot 2019 年 7 月 28 日
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeDeploy to .NET Applications Using MWArray API についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by