error while programming MSP-EXP430G2553

1 次查看(过去 30 天)
I want to programm msp-exp430G2553 using MATLAB.
I am getting the following error.
Error(s) encountered while building "MSP430G2553_gettingstarted": ### Failed to generate all binary outputs.
Caused by:
  • Validation error(s): MEX Tool: Cannot find file 'C:\\Program Files\\MATLAB\\R2019a\\bin\\mex.exe'. The file does not exist.
what is the solution for this

回答(1 个)

Gaurav Chaudhary
Gaurav Chaudhary 2020-10-24
A workaround for this could be to change the compiler being used.
Execute the following command in command window of MATLAB to view and change compilers.
>> mex -setup
If there are no other available compilers then you can download Microsoft Visual C++ 2017 product family.

Community Treasure Hunt

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

Start Hunting!

Translated by