Rapid Accelerator Mode fatal error C1128

5 ビュー (過去 30 日間)
Aidan Kennedy
Aidan Kennedy 2017 年 12 月 21 日
コメント済み: Youssef Elshebani 2022 年 7 月 19 日
When trying to execute my model in Rapid Accelerator Mode I receive the following error: fatal error C1128: number of sections exceed object file format limit : compile with /bigobj
I understand this is an issue with Visual C++, but am unsure how to alleviate it. Is there a setting I can alter to allow the compiler to compile with /bigobj, and if so can the argument be passed through matlab?

採用された回答

Nick Choi
Nick Choi 2017 年 12 月 29 日
編集済み: Nick Choi 2017 年 12 月 29 日
You can add '/bigobj' to the compiler options in the 'Code Generation' pane of the 'Configuration Parameters' in Simulink to address this error message.
Here are the steps to do this:
  1. Select 'Configuration Parameters' > 'Code Generation'
  2. Set 'Build configuration' to 'Specify'
  3. Add '/bigobj' at the end of the Options field for the C Compiler and C++ Compiler
  4. Click on Apply
Additional information on the tools/options in the 'Code Generation' pane can be found here:
  3 件のコメント
Youssef Elshebani
Youssef Elshebani 2022 年 7 月 18 日
編集済み: Youssef Elshebani 2022 年 7 月 18 日
there is no code generation in the configuration Parameters, looked at the documentation it says i need a simulink coder license, I am using the academic version from my university.
I have a similar issue as I an using a framework named acado and have a similar error pop up.
Youssef Elshebani
Youssef Elshebani 2022 年 7 月 19 日
an update
the code generation was due to my matlab version but since i updated i got it now. I applied your method I still get the same error message.
keep in mind that I am mainly using matlab not simulink and I am using a framework named ACADO that has an interface with matlab this gets me the error and recommend to use bigobj
please help

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by