- Select a fit and save it to the MATLAB workspace using one of these methods:
- Right-click the fit in the Table Of Fits pane, and select Save "myfitname" to Workspace.
- On the Curve Fitter tab, in the Export section, click Export and select Export to Workspace.
- Select the options you intend to export, and click ok.
how to extract graph from cftool?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi everyone, i am just learning very basics of matlab.(very very elementary step)
- i used cftool to fit my data into the graph.
- i want to know how to bring 'the code used in the cftool automatically' to the workspace.
- for example, i found how to work cftool. like this

- And i want to move this graph into the original workspace like this. (this is not what i've done, so i don't know how to do it.)

- i hope someone teach me the way very kindly.. thanks.
0 commentaires
Réponses (1)
ag
le 5 Fév 2025
To export the generated fit to the workspace, kindly follow the below steps:
For more details, please refer to the following MathWorks documentation: https://www.mathworks.com/help/curvefit/generating-code-and-exporting-fits-to-the-workspace.html#:~:text=Surface%20Fitting.-,Exporting%20a%20Fit%20to%20the%20Workspace,-To%20export%20a
Hope this helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!