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

조회 수: 1 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2012년 6월 7일
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

채택된 답변

MathWorks Support Team
MathWorks Support Team 2012년 6월 7일
ご利用のコンパイラが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 をインストールする

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Source Code Generation에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!