|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
integrating JForex with MATLAB |
[Tipota]
|
Post subject: integrating JForex with MATLAB |
Post rating: 0
|
Posted: Mon 19 Apr, 2010, 14:32
|
|
User rating: 0
Joined: Mon 19 Apr, 2010, 13:51 Posts: 6
|
Hello,
I do have a difficulty to integrate JForex platform with Matlab. My understanding is there are several ways how to do it. I would like to register external JAR package (MATLAB Compiler Runtime - MCR) into my strategy
... import com.mathworks.toolbox.javabuilder.* ; @Library("javabuilder.jar") ...
but I do get an error - javabuilder.jar cannot be resolved. (Same code works fine in Eclipse, since javabuilder.jar is on my CLASSPATH.)
Any suggestion how to debug or where could be the problem? Is there any other possibility how to integrate?
Thanks®ards, J.
|
|
|
|
 |
API Support
|
Post subject: Re: integrating JForex with MATLAB |
Post rating: 0
|
Posted: Tue 20 Apr, 2010, 08:22
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
[kralowsky]
|
Post subject: Re: integrating JForex with MATLAB |
Post rating: 0
|
Posted: Tue 20 Apr, 2010, 13:13
|
|
User rating: 0
Joined: Sat 08 Mar, 2008, 03:10 Posts: 18
|
I tried to integrate JForex with Matlab via a JBuilder jar a couple of years ago, and I couldn't make it work at all. The functions would always return with an error. Eventually I turned to an alternative: building a mex file from Matlab and then calling that from JNI which works well in JForex. It's a very tricky process to get right though, so if you ever try it ask here for some more hints.
|
|
|
|
 |
[Tipota]
|
Post subject: Re: integrating JForex with MATLAB |
Post rating: 0
|
Posted: Tue 20 Apr, 2010, 13:32
|
|
User rating: 0
Joined: Mon 19 Apr, 2010, 13:51 Posts: 6
|
The "SendMail" JAR (link above) works fine in my demo environment and this is exactly the approach I tried to immitate (import+annotation). It seems JForex cannot resolve some classes/objects defined in MATLAB runtime package... this is strange.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|