Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
farzad
farzad am 14 Feb. 2015
Kommentiert: PeteNW am 23 Dez. 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 Kommentare
John D'Errico
John D'Errico am 14 Feb. 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 am 14 Feb. 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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 14 Feb. 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 Kommentare
Image Analyst
Image Analyst am 23 Dez. 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 am 23 Dez. 2018
Okay, I'll try this. Thanks!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Debugging and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by