Comparing three files to see what functions were used

1 vue (au cours des 30 derniers jours)
Quy
Quy le 13 Avr 2023
Modifié(e) : the cyclist le 14 Avr 2023
I have three mlapps that I need to clean up. They uses some of the same functions in both apps. My task is to figure out what functions are the same in each app, and put it in a single location so that we can manage future changes better.
Is there a good way to do this besides doing a file compare between them?
  2 commentaires
John D'Errico
John D'Errico le 13 Avr 2023
It is a really bad idea to move MATLAB provided functions around. This will cause problems. DON'T DO THAT.
If it is a question of moving your own functions around, that would be your choice.
Quy
Quy le 14 Avr 2023
not moving matlab functions

Connectez-vous pour commenter.

Réponse acceptée

the cyclist
the cyclist le 13 Avr 2023
I'm not sure it will work for your specific case, but the Dependency Analyzer sounds like it might be helpful.
  3 commentaires
Stephen23
Stephen23 le 14 Avr 2023
Modifié(e) : Stephen23 le 14 Avr 2023
the cyclist
the cyclist le 14 Avr 2023
Modifié(e) : the cyclist le 14 Avr 2023
Yes, that app is new in R2023a, but I believe much of the underlying funcionality has been around a while. Try a search for some of the key words, such as dependency MATLAB, and you can find some things. Maybe take a look at this older question/answer, too.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer 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!

Translated by