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

2 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
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 个)

类别

Help CenterFile 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