Effacer les filtres
Effacer les filtres

Is there a way to save what you do in a toolbox as a script?

2 vues (au cours des 30 derniers jours)
farzad
farzad le 14 Fév 2015
Commenté : PeteNW le 23 Déc 2018
Hi All
PLEASE ONLY ANSWER , DO NOT COMMENT ; I AM BUSY AND NEED Notification
if I do not want to use directly a toolbox and want to know what are the scripts that make that toolbox run , I should record what I am doing on the toolbox , so there should be a way to save something like a macro , this is possible in some softwares like CATIA and Abaqus , is the same thing possible in MATLAB ?
  2 commentaires
John D'Errico
John D'Errico le 14 Fév 2015
t is a good thing that none of us are busy like you. It must be nice to be so important.
It is time for you to learn how to use m-files, a fundamental concept of MATLAB. They allow you to write the scripts you so desire to build.
farzad
farzad le 14 Fév 2015
you've got me wrong , I did not get noticed when you commented , despite your comment had no use for me ,sorry but thanks anyway

Connectez-vous pour commenter.

Réponse acceptée

Image Analyst
Image Analyst le 14 Fév 2015
All the steps you do are recorded in the history panel. You can copy lines out of it and paste into a regular editor m-file window if you want to save it as a standalone m-file.
  8 commentaires
Image Analyst
Image Analyst le 23 Déc 2018
Well to do what I said, you'd need to have the source code, and know what the function names were. If you have, basically a black box, then I don't think there is a way to log what functions are called, unless possibly you can run one of the reports that determine coverage. Click the little down arrow on the title bar of the Current Folder panel and see what reports you can generate.
PeteNW
PeteNW le 23 Déc 2018
Okay, I'll try this. Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Debugging and Analysis 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