Save the Figures Getting From ANFIS designer
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sibasish Dhibar
le 28 Déc 2020
Commenté : Subhadeep Koley
le 4 Jan 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/472312/image.png)
0 commentaires
Réponse acceptée
Subhadeep Koley
le 28 Déc 2020
In the Membership Function Editor, Click on File > Export > To Workspace. Provide the workspace variable name (e.g. yourMemFis) and click on OK.
Then in the command window, execute the below code
% Plot membership functions for the first input variable
plotmf(yourMemFis, 'input', 1)
% Export the plot in PNG format
exportgraphics(gcf, 'inputMemFunction.png')
% Close current figure
close(gcf)
% Plot membership functions for the first output variable
plotmf(yourMemFis, 'output', 1)
% Export the plot in PNG format
exportgraphics(gcf, 'outputMemFunction.png')
% Close current figure
close(gcf)
% so on..
2 commentaires
Subhadeep Koley
le 4 Jan 2021
@Sibasish Dhibar as per the documentation, plotmf(__) does not support plotting output membership functions of a Sugeno fuzzy systems. Instead you can plot the output surface of the Sugeno fuzzy system like below
figure
gensurf(yourMemFis)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Fuzzy Logic Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!