Integration of Matlab Fuzzy .FIS into Java
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Ryan G
on 31 Oct 2012
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 Comments
Hussain Faruk
on 9 Mar 2019
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
See Also
Categories
Find more on Deployment in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!