Why do I get an error message related to MKS "echo.exe" when trying to run model in Accelerator mode? I am using ver 2010b, MS Visual Studion 2010 Professional VC++
3 views (last 30 days)
Show older comments
I am trying to run the model in Accelerator mode. It went OK at first with the following message:
### Building the Accelerator target for model: modelWithClock ### Generating code into build directory: C:\Data\CSD\Simu_Trial\slprj\accel\modelWithClock ### Invoking Target Language Compiler on modelWithClock.rtw ### Using System Target File: C:\Matlab\R2010bSP1-64bit\rtw\c\accel\accel.tlc ### Loading TLC function libraries ... ### Initial pass through model to cache user defined code .. ### Caching model source code ....... ### Writing header file modelWithClock_acc.h . ### Writing header file modelWithClock_acc_types.h ### Writing header file rtwtypes.h ### Writing source file modelWithClock_acc.c . ### Writing header file modelWithClock_acc_private.h ### Writing source file modelWithClock_acc_data.c ### TLC code generation complete. . ### Processing Template Makefile: C:\Matlab\R2010bSP1-64bit\rtw\c\accel\accel_vcx64.tmf ### modelWithClock.mk which is generated from C:\Matlab\R2010bSP1-64bit\rtw\c\accel\accel_vcx64.tmf is up to date ### Building modelWithClock: .\modelWithClock.bat
C:\Data\CSD\Simu_Trial\slprj\accel\modelWithClock>call "c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\vcvarsall.bat" AMD64 Setting environment for using Microsoft Visual Studio 2010 x64 tools.
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved.
Then a dialog window named "MKS Toolkit License Error" pops up with message "Unsupported OS Version. Contack MKS Support".
After I closed the above window, the following message shows up at Matlab Command window:
NMAKE : fatal error U1077: 'C:\PROGRA~2\MKS\Toolkit\mksnt\echo.EXE' : return code '0x7f' Stop. The make command returned an error of 2 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file. ### Real-Time Workshop build procedure for model: 'modelWithClock' aborted due to an error. Elapsed time is 15.892018 seconds.
Please help.
0 Comments
Accepted Answer
Cindy Solomon
on 28 Jul 2015
Hi Diane,
From the first part of your message, it seems like Simulink is compiling the model correctly, but it's running into errors once the generated code is being compiled by the compiler. The compiler you are using is compatible with that version of MATLAB (<http://www.mathworks.com/support/compilers/R2010b/)>, so the problem is likely with the MKS toolkit, which is a seems like it has some known path issues on their website here . I would recommend contacting their technical support, or removing this toolkit if you are able.
Hope this helps!
More Answers (0)
See Also
Categories
Find more on Embedded 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!