How can I save git audit info embedded into simulation output
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Fangjun Jiang
2025 年 6 月 25 日
編集済み: Fangjun Jiang
2025 年 6 月 25 日
Run system(), or use MATLAB's git command, e.g.
OutStr=system('git status')
help git
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Source Control についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!