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

조회 수: 12 (최근 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 CenterFile Exchange에서 Source Control에 대해 자세히 알아보기

태그

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by