unable to run accelerated simulation after matlab update

1 次查看(过去 30 天)
I recently updated my matlab to 2013b. However, the accelerated simulation of Simulink does not work any more. The error is: ### Building the Accelerator target for model: Level1 Setting environment for using Microsoft Visual Studio 2010 x86 tools.
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved.
### Compiling Level1_acc.c C:\PROGRA~2\MATLAB\R2013b\bin\mex -c -win32 OPTIMFLAGS="/Od /Oy- /DNDEBUG" -f "C:\PROGRA~2\MATLAB\R2013b\bin\win32\mexopts\msvc100opts.bat" Level1_acc.c Level1_acc.c Level1_acc.c(2) : fatal error C1083: Cannot open include file: 'math.h': No such file or directory
C:\PROGRA~2\MATLAB\R2013B\BIN\MEX.PL: Error: Compile of 'Level1_acc.c' failed.
NMAKE : fatal error U1077: 'C:\PROGRA~2\MATLAB\R2013b\bin\mex.BAT' : return code '0xffffffff' 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.
The normal simulation works fine. And I installed a 32-bit version on 64-bit windows system.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by