'C:\Program Files\Poly​space\R202​0b\toolbox​\coder\com​pile\tools​\lcc64_too​ls_gmake_w​in64_v2.4.​1.mat' is an invalid option

2 visualizzazioni (ultimi 30 giorni)
whenever i run simulink it appears how to rectify it

Risposte (1)

Leepakshi
Leepakshi il 2 Apr 2025
Hey Hemanth,
The error message you're encountering suggests that there might be an issue with your MATLAB/Simulink configuration, specifically related to the compiler settings. This can often happen if the path to a required file or tool is incorrect or if there is a configuration mismatch. Here are some steps you can take to try to resolve the issue:
  1. Run below command in MATLAB to verify and configure the compiler:
>> mex -setup
Ensure that a supported compiler is selected.
2. Ensure that the path mentioned in the error message exists and is correct. There should be no hidden or invalid characters in the path. If it’s missing, try reinstalling MATLAB.
3. Use the following commands in MATLAB to restore the default path and refresh the toolbox cache:
>> restoredefaultpath;
>> rehash toolboxcache;
>> savepath;
Restart MATLAB after executing these commands.
If needed, please connect with Mathworks Support using the link below:
Hope it helps!

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by