dump2workspace
If called from within a function, dump2workspace.m will save all variables within scope to the base workspace.
A lot of times when I develop scripts, I find myself wanting to write a function specific to the script contained in the same file. Then, the script must have a "main"-function to call, with the drawback that the script variables are not seen in the workspace after a run. So during the development phase, I put this at the end of the main function call, to be able to access my variables easily after a run with no fuzz (that is, no breakpoints or return variables, etc).
Cita come
Magnus (2024). dump2workspace (https://www.mathworks.com/matlabcentral/fileexchange/57183-dump2workspace), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Signal Processing > DSP System Toolbox > Signal Generation, Manipulation, and Analysis > Scopes and Data Logging >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |