On Unix platforms, !svn and system('svn') commands do not work in MATLAB starting R2024b

3 ビュー (過去 30 日間)
On Unix platforms, in MATLAB R2024b, using svn commands within MATLAB using the bang operator and the system command no longer work and throw "undefined symbol" errors.

採用された回答

Rebecca Nakhoul
Rebecca Nakhoul 2025 年 4 月 7 日
Starting in R2024b, on Linux systems, you can no longer call svn commands from within MATLAB using the bang symbol ! and the MATLAB system command. For example, !svn status throws an "undefined symbol" error.
Workaround:
Reload the environment variables stored in the user's Home folder, before executing svn commands.
!env -i HOME="$HOME" svn status

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSource Control についてさらに検索

タグ

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by