How do I move "codeAnaly​zerConfigu​ration.jso​n" to a different location on a Linux machine?

I have a Linux machine and would like to move the "codeAnalyzerConfiguration.json" configuration file to a different location but still have them recognised by MATLAB.  How do I do this?

 채택된 답변

This can be achieved by moving "codeAnalyzerConfiguration.json" to its new location and placing an alias (known within Linux as a "symbolic link") at the original location. This can be done by running the following command in the directory where "codeAnalyzerConfiguration.json" was moved from (replacing "[path-to-new-location]" with the new path to "codeAnalyzerConfiguration.json"):
!ln -s [path-to-new-location] codeAnalyzerConfiguration.json

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

제품

릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by