- Run below command in MATLAB to verify and configure the compiler:
'C:\Program Files\Polyspace\R2020b\toolbox\coder\compile\tools\lcc64_tools_gmake_win64_v2.4.1.mat' is an invalid option
7 ビュー (過去 30 日間)
古いコメントを表示
whenever i run simulink it appears how to rectify it
0 件のコメント
回答 (1 件)
Leepakshi
2025 年 4 月 2 日
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:
>> 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!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!