필터 지우기
필터 지우기

Integration of Matlab Fuzzy .FIS into Java

조회 수: 1 (최근 30일)
Jian Dong
Jian Dong 2012년 10월 31일
댓글: Hussain Faruk 2019년 3월 9일
Hi Actually I have developed one fuzzy rules based system in Matlab Fuzzy editor. Now I want to merge this .FIS file to my Java program where I have developed optimization framework for Grid. My java program will generate input functions for the fuzzy system and will take one output function from fuzzy system. I want to know how I can merge .FIS file in my java code.
some partial solution available without documentation. I would appreciate you provide detail or documentation regarding this integration. Thanks in advance

답변 (1개)

Ryan G
Ryan G 2012년 10월 31일
Depending on how you want to deploy this there are a few options. If you are ok with installing the MCR on the PC running Java, you could use MATLAB builder JA to compile a Java class to call from your Java code.
If you do not want to use the MCR, then your options are a bit more limited but you can still do this I believe. You can http://www.mathworks.com/products/fuzzy-logic/description5.html generate C-code> for a Fuzzy controller using Simulink Coder, but then you need to alter the code to create a DLL you can call from Java.
  댓글 수: 6
Jian Dong
Jian Dong 2012년 11월 6일
Thanks a lot Mr. Ryan
With your tips, I have managed the conversion of .FIS to .m file. Now my fuzzy system is working fine in Matlab with .m file and I have also build it in MCR to convert in Java package. There is no error in building java package but I am having some errors when I run this fuzzy system in java Netbeans I am trying to troubleshoot. Hope it would work fine. Once again thank you very much for your valuable help that moved my work forward.
Hussain Faruk
Hussain Faruk 2019년 3월 9일
Hi,
I am also trying to use my Matlab .fis in a java web application. I have spent quite a lot of time researching but cannot find a straightforward tutorial on how this is done.
I have the full suite of matlab available and want the most simplest way of using my fis in my eclipse java app.
Can you explain how you converted your .fis into .m and subsequently used the .m in the java app. If you can please explain how you actually call the Matlab function in the java app as well.
Thanks

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deployment에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by