error while programming MSP-EXP430G2553

1 view (last 30 days)
Hitesh Chandwani
Hitesh Chandwani on 11 Sep 2019
Answered: Gaurav Chaudhary on 24 Oct 2020
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

Answers (1)

Gaurav Chaudhary
Gaurav Chaudhary on 24 Oct 2020
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.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!