Compiler error / Model building fails in Rapid Accelerator Mode
    15 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Frederik Seeger
 el 11 de En. de 2017
  
    
    
    
    
    Respondida: Laís de Oliveira Assis
 el 2 de Abr. de 2020
            When trying to run my Simulink model (Name: "simulation") in Rapid Accelerator Mode, the building procedure is aborted and the following error is issued:
"Failed to build model 'simulation' using LCC in rapid accelerator mode, please consider using a different compiler instead. For details on supported compiler versions, see http://www.mathworks.com/support/compilers/current_release
Caused by: Building host-based CAPI for 'simulation' failed. Line 1: Keyword expectedcannot open output file "W:\Projekte\alternative.dll:"
Does this mean there is no working Compiler installed on my PC? I am asking because I cannot make sense of the second part of the error message.
Using R2015b.
0 comentarios
Respuestas (2)
  Vishal Neelagiri
    
 el 16 de En. de 2017
        The error message means that MATLAB is currently using the 'LCC' compiler to build the model and there seems to be some issue opening the DLL file mentioned.
If you refer to the supported compilers page, https://www.mathworks.com/support/compilers.html, you can see that LCC compiler is supported for Rapid Accelerator mode but not for S-function compilation. You can check your model if there are any S-function blocks.
You can also install any of the supported compilers like Microsoft Visual Studio and then use the following command to use change the compiler that MATLAB uses:
mex -setup
You might find these 2 links useful:
https://www.mathworks.com/matlabcentral/answers/228637-problem-of-using-rapid-accelerator-in-simulink
0 comentarios
  Laís de Oliveira Assis
 el 2 de Abr. de 2020
        I've changed the folder where the temporary file is saved (in C:) and it worked.
0 comentarios
Ver también
Categorías
				Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


