필터 지우기
필터 지우기

Mode accelerator in Simulink and Windows 7 64-bits

조회 수: 1 (최근 30일)
Indira
Indira 2011년 3월 15일
Hi,... I have a model in Simulink which can run in normal model, however, in accelerator mode or real-time it doesn't work. It appears a message: "Unable to locate a Visual C/C++. Please define one of the following environment variables:Real-Time Workshop builds with Microsoft Visual C on 64-bit windows require that the compiler be installed". ... I have installed the newest version C++ compiler but I can't run the model yet.

채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 3월 15일
Run "mex -setup" from MATLAB command prompt and choose the installed compiler.
Note: Make sure you have a supported compiler.
  댓글 수: 8
Indira
Indira 2011년 3월 24일
I've installed Microsoft Visual C++ 2008 Express... but it doesn't work... =(
I run mex -setup but nothing appears!!
It is possible that the environmental variables could be the solution??.. because it is related with the path..
Kaustubha Govind
Kaustubha Govind 2011년 3월 24일
Did you also follow instructions here to ensure that x64 compilers are installed (by default, only 32-bit compilers are installed): http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/?solution=1-6IJJ3L

댓글을 달려면 로그인하십시오.

추가 답변 (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