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?

 Accepted Answer

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

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Release

R2023a

Community Treasure Hunt

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

Start Hunting!