Mode accelerator in Simulink and Windows 7 64-bits
    7 views (last 30 days)
  
       Show older comments
    
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.
0 Comments
Accepted Answer
  Kaustubha Govind
    
      
 on 15 Mar 2011
        Run "mex -setup" from MATLAB command prompt and choose the installed compiler.
8 Comments
  Kaustubha Govind
    
      
 on 24 Mar 2011
				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
More Answers (0)
See Also
Categories
				Find more on Simulink 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!
