Adding Procrustes Code to a PCA

How do I add new instructions or code to an existing callback in a gui. I have a button that when I press in a GUI it performs a PCA for me. However I want to add Procrustes code so that any time I press that particular button in the GUI, PCA will be performed in addition to a Procrustes analysis. How do I add the Procrustes code to that part of the PCA code so that they communicate? Any code example?
Thank you.

1 Comment

Tell GUIDE you want to edit the callback. Make any code changes in the editor.

Answers (1)

Niraj Gadakari
Niraj Gadakari on 26 Sep 2017
You could program the push button callback to perform both the PCA, and Procrustes analysis. Here is the link that explains programming the push button callbacks.

This question is closed.

Asked:

on 23 Sep 2017

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!