convert a .fis file to java Jar file

Hi everyone, i'm new in matlab with limited information so please be patient with me :)
So I created a fuzzy logic system with 5 input and 1 output. i have saved it as a .fis file and now i want to use this file in my java codes (in eclipse software).
My questions is how can i convert this .fis to a .m file and then java jar file.
Im using 64x windows 8

2 个评论

Hi Maryam,
Did you use the GUI to build your FIS or you wrote a code?
OK, I just checked the FIS editor, and I couldn't see an export to .m option!
It's fairly easy to write it as an .m file, consider this as the last resort.
Good Luck
Hey there, Thanks for the reply. I used GUI to build my fuzzy logic system. Can you tell me how can i write it as a .m file?

请先登录,再进行评论。

 采纳的回答

Hi Salaheddin,
Thanks for the idea of coding my FIS. So by using the help of the attached document i managed to code my FIS and save it as an .M file
Now my second step should be : converting my .m file to a jar file
(I'm writing these comments for those who are facing the same problem.)

2 个评论

I don't see an attached document!
However, MATLAB User guide for fuzzy logic toolbox covers almost everything.
Hi Maryam,
you need the MATLAB Compiler SDK to compile your MATLAB code into a .jar file (in previous releases known as MATLAB Builder JA (for Java)).
Titus

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by