Error while generating DLL
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have around 50 simulink models.For 47 models i was able to generate harness and use the same harness as argument for slbuild command and generate DLL.This is done with the help of the m-script we created and its generic for all model.
But for the 3 models i am uable to generate DLL and i am getting errors as follows:
.### Build procedure for model: 'VcCcCmptCtr_GT_Harness' aborted due to an error.
Error using tlc_new
Error: Errors occurred - aborting
Error in tlc (line 87)
[varargout{:}] = tlc_new(varargin{:});
Error in callTLCService
Error in tlc_c>InvokeTLC (line 1025)
callTLCService(action, tlcCmd, tlcProfilerOn, buildDir, ...
Error in tlc_c (line 562)
InvokeTLC(dispOpts, buildDir, modelName, rtwroot, ...
Error in coder.internal.ModelBuilder/buildProcedure (line 710)
buildResult = tlc_c(h,...
Error in coder.internal.ModelBuilder/make_rtw (line 197)
buildResult = buildProcedure...
Error in coder.internal.ModelCodegenMgr/make_rtw (line 8)
buildResult = obj.make_rtw(varargin);
Please assist.
Thanks
3 comentarios
Rik
el 2 de Sept. de 2024
This doesn't look the same most Matlab errors do. Since I don't see anything I'm familiar with, I unfortunately cannot help you. the number of people intimately familiar with Simulink is also fairly limited (compared to Matlab in general).
Respuestas (1)
Kautuk Raj
el 17 de Sept. de 2024
I reckon that you are encountering an error when trying to generate a DLL for some Simulink models. The error message indicates issues with the TLC (Target Language Compiler) process.
In one of my models, I faced a similar issue in the R2017b version. I could not find any workarounds to overcome this.
Updating to MATLAB R2020b or a later version resolved the issue for me.
I recommend trying the same update to see if it resolves your problem as well.
0 comentarios
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!