How can I save git audit info embedded into simulation output
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Caroline Dacey
il 25 Giu 2025
Modificato: Fangjun Jiang
il 25 Giu 2025
I'd like to improve the traceability of my simulation outputs. I currently use a diary file to record the git commit and save it alongside my simulation output, but it would be even better if I could embed the commit info inside the output object. Is there a Matlab function to do this? Thanks
0 Commenti
Risposta accettata
Fangjun Jiang
il 25 Giu 2025
Modificato: Fangjun Jiang
il 25 Giu 2025
Run system(), or use MATLAB's git command, e.g.
OutStr=system('git status')
help git
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Source Control in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!