アクセラレータで Simulink モデルを実行するとエラーがでるのは何故ですか?

2 visualizaciones (últimos 30 días)
MathWorks Support Team
MathWorks Support Team el 7 de Jun. de 2012
Simulink モデルをアクセラレーターで実行する際にエラーで実行できません。
### モデルに対するアクセラレータ ターゲットをビルド中: Model21_Type2
'nmake' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
The make command returned an error of 9009
'An_error_occurred_during_the_call_to_make' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
### 次のモデルに対する Real-Time Workshop ビルドプロセス:'Model21_Type2' はエラーのため中止しました。
また、「mbuild -setup」でコンパイラをVisual C++ 2010 Expressにしているのですが、下記コードが表示されます。
****************************************************************************
Warning: Applications/components generated using Microsoft Visual C++
2010 require that the Microsoft Visual Studio 2010 run-time
libraries be available on the computer used for deployment.
To redistribute your applications/components, be sure that the
deployment machine has these run-time libraries.
****************************************************************************
Trying to update options file: C:\Users\username\AppData\Roaming\MathWorks\MATLAB\R2010b\compopts.bat
From template: C:\PROGRA~1\MATLAB\R2010B~1\bin\win64\mbuildopts\msvc100freecompp.bat

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 7 de Jun. de 2012
ご利用のコンパイラがDOSのPATHに設定されていない可能性があります。
恐らく、PATHにコンパイラを追加すれば直るかと思われますが、通常、コンパイラがPATHに通ってない場合、コンパイラのインストールが正常に行われなかった可能性があります。
従いまして、再度、コンパイラのインストールを行ってください。
また、その際、下記の2点に注意してください。
1. Microsoft Visual C++ 2010 Express をインストールするとき 64 ビットのインストールの Flag がチェックされていることを確認する
2. Microsoft Visual C++ 2010 Express をインストールした後に Windows Software Development Kit (SDK) 7.1 をインストールする

Más respuestas (0)

Categorías

Más información sobre Source Code Generation en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!