Getting error while creating new MWNumericArray in C#

Hi,
Code:
MatLabWrapper.cs
private MWArray Lambda = null;
public MatLabWrapper()
{
Lambda = CreateMatLabDoubleArray(new[] { .97 });
}
public MWArray CreateMatLabDoubleArray(params double[] prices)
{
return new MWNumericArray(prices.Length, 1, prices);
}
TradeManager.cs
MatLabWrapper matLabWrapper = new MatLabWrapper();
This fails only when we call ONETICK query to get data, if we don't call ONETICK this works fine.
Problem: Everything works fine for first time but when it's called again then it hangs and stop responding. Kindly advice what could be the issue and how to fix it.
Thanks

1 件のコメント

Sudhir
Sudhir 2013 年 12 月 27 日
Is there anyone who can help here?

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2013 年 12 月 24 日

コメント済み:

2013 年 12 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by