Quantcast
Channel: MATLAB Central Newsreader - tag:"accelerator"
Viewing all articles
Browse latest Browse all 24

Re: Simulink accelerator compile error

$
0
0
In case anyone else got this error:

it is due to a line being longer than the limit for the LCC compiler. Can happen for deeply nested subsystems or long block names. Microsoft Visual Studio compiler doesn't have a limit so installed MS VS 2008 Express C++ (free) and works fine now

"Jos " <jvthoff@gmail.com> wrote in message <i4bc0p$af1$1@fred.mathworks.com>...
> Hi,
>
> I'm trying to run my Simulink/Simhydraulics model in accelerator mode, but during building of the model I get an error:
>
> Cpp: Input buffer overflow!!!
>
> C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Compile of 'System_52d04068_ds.c' failed.
>
> gmake: *** [System_52d04068_ds.obj] Error 9
> ### Real-Time Workshop build procedure for model: 'System' aborted due to an error.
>
> Does anyone know what might be the cause of the error? The model is quite big, but it runs fine in normal mode.
> Cheers
> Jos

Viewing all articles
Browse latest Browse all 24

Trending Articles