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

4 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 26 Mai 2023
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

Weitere Antworten (0)

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by