开发者

Matlab Javabuilder related issue

开发者 https://www.devze.com 2023-02-15 17:34 出处:网络
I\'ve written certain code in Matlab which upon execution produces list of similar results. I\'ve done testing with lots of images on matlab.

I've written certain code in Matlab which upon execution produces list of similar results. I've done testing with lots of images on matlab.

However, to integrate it with Java, I've used javabuilder.

the only problem is that after building, the jar file upon calling the function returns simp开发者_运维技巧le list of images rather than relevant images.

Can anyone explain me why this is happening?

Are there any bugs with java builder?

I've rebuilt the jar file several times but results r still not the same.


after a long trial and error session, I've found the bug. Earlier I was sending my parameters which were getting passed as integer. So, all the calculations were getting performed as integer so all the values as zero and hence no result at all..

Now, I'm sending my parameter by parsing them into double to get the correct result..

and its working as per expectation..

0

精彩评论

暂无评论...
验证码 换一张
取 消