How do I fix this error when build simulink model with matlab fcn and xpctarget A/D block? Error(s) encountered while building model "PCIctest": ### Failed to generate all binary outputs.
Mostrar comentarios más antiguos
I am trying to build a simulink model with Matlab fcn and xpctarget AD module to generate c code for real implementation. The error come out during the building.
Error(s) encountered while building model "PCIctest": ### Failed to generate all binary outputs.
The model is really simple:

And the code in the matlab function is
function y = fcn(u)
y=2*u;
PS: the matlab edition is R2013b.
Respuesta aceptada
Más respuestas (2)
Suneesh
el 27 de Feb. de 2014
1. The compiler may not be set correctly. Provided that you have installed the supported compiler for R2013b choose the correct one using:
xpcsetCC -setup
2. Once you have done the above try to confirm a proper install by executing
xpctest
3. The entire build log would be useful to troubleshoot (here or while contacting tech support)
4. Your error message mentions " building model "PCIctest"" where are your screenshot is of a different model.
promphiriya promboot
el 9 de Oct. de 2023
0 votos

Program error,How do I fix this error?
Categorías
Más información sobre Target Computer Setup en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!