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.

47 ビュー (過去 30 日間)
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.

採用された回答

Diego Kuratli
Diego Kuratli 2023 年 1 月 26 日
This is an obsolete error and the PCI-6259 board is no longer supported with Simulink Real-Time.
Please reach out to Speedgoat for hardware support and system integration for latest MATLAB releases.

その他の回答 (2 件)

Suneesh
Suneesh 2014 年 2 月 27 日
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
promphiriya promboot 2023 年 10 月 9 日
Program error,How do I fix this error?

カテゴリ

Help Center および File ExchangeMulticore Processor Targets についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by