How to save .* fis file into .*m.files

I currently work on Fuzzy logic system application (GUI). All my works are automatically saved into.fis file. How to save the *.fis file into *.m files.
I use 'readfis' command, but, it only show me the main structure of fuzzy inference system in the matlab command windows. I can't save it into .*m fiels.
I wonder if some one can help me in this issue.
Thank you.

5 Comments

Can you explain why you are asking this? Why is fis file not Ok for you?
I have been told to convert the .fis file to .m file, in order to show the matlab script or code. Is is necessary? is it .mat file similar to .m files? Thnaks
easily to convert from .fis to .m file see this video https://www.youtube.com/watch?v=xLkLsyzn2fk
thank you so much
Hello ,what is pupose

Sign in to comment.

Answers (4)

Arkadiy Turevskiy
Arkadiy Turevskiy on 13 Jun 2013
With Fuzzy Logic Toolbox you can create and edit fuzzy systems using the GUI like you are doing, or using command line functions such as newfis, addvar, addmf, addrule.
There is no way to automatically generate a script that will reproduce what you did in the GUI, but if you take a look at an example, you can probably figure out how to write a script.
Asma DJAIDRI
Asma DJAIDRI on 3 May 2015
Hi, i have simulate a fuzzy system inferece with fuzzy toolbox and simulink and i want to get the c++ code to use it in other programme (omnetpp) , but the code generated with simulink , is related with Matlab , but i need a code with no relation after with matlab , is that possible?? thanx a lot

Categories

Asked:

on 11 Mar 2013

Commented:

on 17 Apr 2020

Community Treasure Hunt

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

Start Hunting!