Save a plot from a function in a structure and save the structure
古いコメントを表示
Hi everyone.
I created a function to perform pca calculations and to plot some specific plots, like loadings and scores.
to run this in my scrip i type:
[PCA_Model] = functionPCA(X)
This creates me a structure, where I have variables saved there that I can access using PCA_Model.eigenvalues, PCA_Model.Scores, etc.
Question -> How can I save this structure to access later on, instead of running the script again? Also, the plots I made is there a way to save in the structure like the variables? My objective in a fold of my chosen, I open PCA_Model, and I can see the plots I created plus the variables I saved in the structure
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Dimensionality Reduction and Feature Extraction についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!