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

Re: problems for running simulink

$
0
0
Have you looked in the documentation at the section called "Code Regeneration in Accelerated Models" to see if anything you are doing between calls to sim are causing the rebuild?

Phil.

Re: problems for running simulink

$
0
0
thanks for your help, I read the help linkage, it seems there is some code make the model rebuild itself.

what is this?

$
0
0
The model 'PSW_Modell_Nachbau_Sicherung_100326_plus1' has an algebraic loop. Accelerator mode is not supported for models with algebraic loops

what should i do?

Re: what is this?

$
0
0
An algebraic loop means that if you start at one block (in the loop) and follow its output, it will eventually loop back around to the input, meaning the input in a given time step is dependent on the output.

To identify the loop, use the Simulink debugger and type "ashow" in the command window while the debugger is running. This will identify the blocks that are members of the algebraic loop. There are a couple of solutions I know of , and perhaps more that I don't know of. If there is an integrator block in the loop, use the state signal from that block instead of the output to feed back into the loop. If there is not an integrator, consider adding a unit delay to the loop (don't forget to set initial conditions if necessary). This works by making the input dependent on the output from the preceding time step.

"Mohd Nabil " <emmet_14@yahoo.com> wrote in message <hpfb79$64l$1@fred.mathworks.com>...
> The model 'PSW_Modell_Nachbau_Sicherung_100326_plus1' has an algebraic loop. Accelerator mode is not supported for models with algebraic loops
>
> what should i do?

Does Rapid Accelerator work with bus objects?

$
0
0
I have a model that uses libraries and will eventually use model referrencing. To help control bus signals between blocks created by different people, inports have bus objects (Simulink.Bus) specified on the signal attributes tab. These bus objects are defined into the base workspace as part of the PreLoadFcn callback.

The model works fine in Normal mode and Accelerator mode. But when attempting to run it in Rapid Accelerator mode, it is unable to build a standalone executable. It encounters two problems while building the rapid accelerator target for the model.

The first error gives the message:
     lcc preprocessor error: .\SysName_types.h:4 .\SysName.h:21
          SysName.c:2 Could not find include file "BusHeader.h"
where SysName.mdl is the model I'm running and BusHeader.h is the header file name I used when defining the bus objects.

The second error message is:
       Error SysName.c: .\SysName_dt.h: 18 undeclared identifier 'Bus1'
where SysName.mdl is the model and Bus1 is the name of the Simulink.Bus object defined in the base workspace. This error message is repeated for each of the bus objects.

Does Rapid Accelerator support Simulink.Bus objects?
Do I need to create a header file for the bus objects or does Simulink do that as part of the autocoding?
Do you have any suggested work arounds?

Any help is greatly appreciated.

Simulink accelerator compile error

$
0
0
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

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

Problems accelerating a model that works fine in normal mode

$
0
0
Hi, as the subject says, I'm having problems in order to accelerate a Simulink model.
If I run two consecutive simulations without acceleration mode(normal mode on) and with acceleration mode, the model only works* in normal simulation mode.

*it finishes simulation without any error

After running it in acceleration mode I receive these errors:

---------------------------------------------------------------------------
-----------------------[ERRORS]------------------------------------------
---------------------------------------------------------------------------

C:\Users\Oscar\Desktop\Nuevo Imp-Mec efector\slprj\accel\MECH_IMP_VNUEVO_vDELETE3bis3>call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\bin\vcvars64"
""C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\bin\vcvars64"" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
 
C:\Users\Oscar\Desktop\Nuevo Imp-Mec efector\slprj\accel\MECH_IMP_VNUEVO_vDELETE3bis3>cd .
 
C:\Users\Oscar\Desktop\Nuevo Imp-Mec efector\slprj\accel\MECH_IMP_VNUEVO_vDELETE3bis3>nmake -f MECH_IMP_VNUEVO_vDELETE3bis3.mk GENERATE_REPORT=0
"nmake" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
 
C:\Users\Oscar\Desktop\Nuevo Imp-Mec efector\slprj\accel\MECH_IMP_VNUEVO_vDELETE3bis3>echo The make command returned an error of 9009
The make command returned an error of 9009
 
C:\Users\Oscar\Desktop\Nuevo Imp-Mec efector\slprj\accel\MECH_IMP_VNUEVO_vDELETE3bis3>An_error_occurred_during_the_call_to_make
"An_error_occurred_during_the_call_to_make" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

---------------------------------------------------------------------------
-----------------------[/ERRORS]------------------------------------------
---------------------------------------------------------------------------

(for more details, watch the piece of code located a few lines later in a .txt file).

I'm using Matlab R2010b.

Next, I paste the output from Matlab console (since I pressed start button until simulation crashed) in a .txt:

http://dl.dropbox.com/u/15482396/output%20after%20simulate%20acceleration%20mode.txt

Well, if I re-configure the compiler setup (I have Visual Studio Express 2010 + SDK installed, and is working fine according to some manuals I've read: i did some test to check if compiler was correctly detected by Matlab R2010b) the Matlab console gives me these lines:


---------------------------------------------------------------------------
-----------------------[COMPILER]------------------------------------------
---------------------------------------------------------------------------

>> mex -setup
Please choose your compiler for building external interface (MEX) files:
 
Would you like mex to locate installed compilers [y]/n? y
 
Select a compiler:
[1] Microsoft Visual C++ 2010 Express in C:\Program Files (x86)\Microsoft Visual Studio 10.0
 
[0] None
 
Compiler: 1
 
Please verify your choices:
 
Compiler: Microsoft Visual C++ 2010 Express
Location: C:\Program Files (x86)\Microsoft Visual Studio 10.0
 
Are these correct [y]/n? y
 
***************************************************************************
  Warning: MEX-files generated using Microsoft Visual C++ 2010 require
           that Microsoft Visual Studio 2010 run-time libraries be
           available on the computer they are run on.
           If you plan to redistribute your MEX-files to other MATLAB
           users, be sure that they have the run-time libraries.
***************************************************************************
 
Trying to update options file: C:\Users\Oscar\AppData\Roaming\MathWorks\MATLAB\R2010b\mexopts.bat
From template: C:\PROGRA~1\MATLAB\R2010b\bin\win64\mexopts\msvc100freeopts.bat
 
Done . . .
 
**************************************************************************
  Warning: The MATLAB C and Fortran API has changed to support MATLAB
           variables with more than 2^32-1 elements. In the near future
           you will be required to update your code to utilize the new
           API. You can find more information about this at:
           http://www.mathworks.com/support/solutions/en/data/1-5C27B9/?solution=1-5C27B9
           Building with the -largeArrayDims option enables the new API.
**************************************************************************

---------------------------------------------------------------------------
-----------------------[/COMPILER]------------------------------------------
---------------------------------------------------------------------------

After doing that, the accelerator mode continues working wrong and gives me the same error...

If it would be a important data, in both cases, after of receving the error from Matlab, I've realised that source files (.h, .c, etc..) have been createad in a folder named "splrj" located in my work folder.

Related pics:
Created folders : http://dl.dropbox.com/u/15482396/03-01-2011%2018-22-28.png

Created files in two different folder:
http://dl.dropbox.com/u/15482396/03-01-2011%2018-30-50.png
and
http://dl.dropbox.com/u/15482396/03-01-2011%2018-28-28.png

The rest of subfolders and folders are empty.

To conclude, I paste some pics of the configuration of my simulink .mdl (only the fields that I consider that can affect to the accelerator mode working -> fields located "Configuration Parameters" with names: "Solver", "Data Import/Export", "Optimization", respectively):

http://dl.dropbox.com/u/15482396/03-01-2011%2018-48-30.png
http://dl.dropbox.com/u/15482396/03-01-2011%2018-48-39.png
http://dl.dropbox.com/u/15482396/03-01-2011%2018-48-50.png


That's all. Thanks in advance.

If anybody knows anything to solve this problem I would be very pleased.... I wait four your response.


Óscar.

Re: Problems accelerating a model that works fine in normal mode

$
0
0
While it may not be the most elegant solution, this is what I do.

1. Run the accelerator and get the error message.

2. Goto "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin" and copy nmake.exe.

3. Goto the folder where the accelerator model files are "../slprj/accel/MODELNAME/"
and paste nmake.exe into this folder.

4. Run the accelerator and it should compile. You will now have MODELNAME.mexw64 in your working directory

5. If someone knows of a simpler solution let me know. While this method works, its somewhat annoying.

Re: Simulink accelerator not working!

$
0
0
"Sérgio Cruz" wrote in message <gt9kdh$hrv$1@fred.mathworks.com>...
> "Jeff Koechling" <jckoechling.no.spam@yahoo.no.spam.com> wrote in message <gt7nfh$j6m$1@fred.mathworks.com>...
> > Sergio,
> >
> > Try setting environment variable VS80COMNTOOLS to the same value as VS90COMNTOOLS.
> >
> > Jeff
> >
>
> Jeff!
>
> It works!!!! Finally the accelerator is running in Simulink.
> Thanks a lot for your help! I owe you one :)
>
> Sergio


Hi,
I have the same problem, I use Windows 7 64-bits, but I don't have VS80 neither VS90, I have VS100... What can I do to run accelerator mode??

Thanks!!

running Level2 M-file S-function in accelerator without tlc

$
0
0
hello,

I have a level2 m-file S-function in a modelReference. I want to run the modelRef in accelerator but I always get the following error:
"The corresponding 'genpred_trajectory_3D.tlc' file for the M S-function 'genpred_trajectory_3D' in block 'modelRef_Trajectory_Gen_Pred_v2_1bis/Level-2 M-file S-Function' must be located in the current working directory, the M S-function directory 'F:\PRIVATE_DATA\st26845\SIMBOX\A380\SCHEMA\v3.0_trajpred', or the directory 'F:\PRIVATE_DATA\st26845\SIMBOX\A380\SCHEMA\v3.0_trajpred\tlc_c'."

I've seen on the online help that a tlc was mandatory to generate code from a lvl2 M-file S-function with rtw but not to run such functions in accelerator. I've used the block.SetAccelRunOnTLC(false) command in my setup function, but no effect. Did I miss something ?
Did anyone already have this problem before ?

thanks in advance for your responses.
Laurent

Re: running Level2 M-file S-function in accelerator without tlc

Re: running Level2 M-file S-function in accelerator without tlc

$
0
0
hello Phil,

Thank you for your answer. Running a model in accelerator or a model reference in accelerator is apparently not the same thing. if a TLC is not required to accelerate a model containing a Level-2 MATLAB S-function (http://www.mathworks.fr/help/toolbox/simulink/sfg/f7-67622.html), it is needed to run a model reference in accelerator mode (your link).

Laurent

uicontextmenu with accelerator key

$
0
0
Hello,

does anyone know, why it is unpossible to set an uimenu item with accelerator key, which is displayed in the uimenu label when adding it to an uicontextmenu?

Like:
myhandles.fig(1) = figure;
myhandles.pnl(1) = uipanel('parent',myhandles.fig(1),'units','normalized','position',[0 0 1 1]);
myhandles.cm(1) = uicontextmenu('parent',myhandles.fig(1));
myhandles.cm(2) = uimenu('parent',myhandles.cm(1),'label','Item 1','Accelerator','O');
myhandles.cm(3) = uimenu('parent',myhandles.cm(1),'label','Item 2','Accelerator','N');

set(myhandles.pnl(1),'uicontextmenu',myhandles.cm(1));

Is there may any possible workaround to set the Information of the Accelerator Key within the label itself, like using ( this failed: sprintf('Item 1\t Strg I')) with using pure matlab code?

Another way I tried is using html labeling but unfortunately when focusing the item the background becomes blue and the foreground color of the item itself, of the string, still is displayed in black color and does not turn to white. ;(((((

Thanks
Jens

Re: Simulink accelerator not working!

$
0
0

>
>
> Hi,
> I have the same problem, I use Windows 7 64-bits, but I don't have VS80 neither VS90, I have VS100... What can I do to run accelerator mode??
>
> Thanks!!

Like previously,
Try setting environment variable VS100COMNTOOLS to the same value as VS90COMNTOOLS.

JIT issues

$
0
0
I have a program which i have profiled and the main section of code which is taking the most time i would have liked to accelerate but matlab says it is unable since the data is of type double or double (complex). But to my understanding these were two data types which were applicable to the JIT- accelerator?

Any one had any similar issues? Any help wouuld be greatly appreciated as i am fairly new to matlab.

Cheers,
Niall Geoghegan

Re: JIT issues

$
0
0
Dear Niall Geoghegan!

> I have a program which i have profiled and the main section of code which is taking the most time i would have liked to accelerate but matlab says it is unable since the data is of type double or double (complex). But to my understanding these were two data types which were applicable to the JIT- accelerator?

Can you show us the corresponding commands?

Jan

problems for running simulink

$
0
0
I am running my simulink model in a loop which call sim('mymodel') many times. But every time the sim() is called, it builds the model repeatedly and takes lots of time, below is message showing while calling sim():

'Building the Accelerator target for model mymodel'

Are there any ways to avoid this building procedure?

thanks.

Error of compilation while running Simulink model in Accelerator mode

$
0
0
Hi everybody,

I've just upgraded Matlab from 2013a to 2015b and I have problem when compiling my model.

I have a model working perfectly on 2013a. I'm using compiler Lcc-win32 C 2.4.1 and my computer OS is windows 7 64-bits. In fact when entering >>mex -setup in matlab prompt command, this compiler is the only choice I have.

For Matlab 2015b, my default compiler is 'Microsoft Windows SDK 7.1 (C)' and I have Microsoft .NET Framework 4.5 installed. According to http://www.mathworks.com/support/compilers/R2015b/index.html, I'm compliant.

In normal mode, I can run my simulation without problem but in Accelerator mode, I get this error :

    'cmd' is not recognized as an internal or external command,
    operable program or batch file.
    NMAKE : fatal error U1077: 'cmd' : return code '0x1'
    Stop.

How can I fix that? The complete log is pasted below.

Thank you.


_____________________________________________________________________
    ### Building the Accelerator target for model: Digital_Speed_Governor
    ### Generating code into build folder: C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor
    ### Invoking Target Language Compiler on Digital_Speed_Governor.rtw
    ### Using System Target File: C:\Program Files\MATLAB\R2015b\rtw\c\accel\accel.tlc
    ### Loading TLC function libraries
    ### Initial pass through model to cache user defined code
    ...............................................................................
    ............................................................................
    ### Caching model source code
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ...............................................................................
    ....
    ### Writing header file Digital_Speed_Governor_acc.h
    .
    ### Writing header file Digital_Speed_Governor_acc_types.h
    ### Writing header file Digital_Speed_Governor_acc_private.h
    ### Writing header file rtwtypes.h
    ### Writing header file multiword_types.h
    ### Writing header file rt_look1d.h
    ### Writing source file rt_look1d.c
    .
    ### Writing header file rt_look.h
    ### Writing source file rt_look.c
    ### Writing source file Digital_Speed_Governor_acc.c
    ### Writing source file Digital_Speed_Governor_acc_data.c
    ### Writing header file rt_nonfinite.h
    ### Writing source file rt_nonfinite.c
    .
    ### Writing header file rt_defines.h
    ### Writing header file rtGetInf.h
    ### Writing source file rtGetInf.c
    ### Writing header file rtGetNaN.h
    ### Writing source file rtGetNaN.c
    ### TLC code generation complete.
    ### Creating project marker file: rtw_proj.tmw
    .
    ### Processing Template Makefile: C:\Program Files\MATLAB\R2015b\rtw\c\accel\accel_vcx64.tmf
    ### Creating Digital_Speed_Governor.mk from C:\Program Files\MATLAB\R2015b\rtw\c\accel\accel_vcx64.tmf
    ### Building Digital_Speed_Governor: .\Digital_Speed_Governor.bat
    Warning: Could not evaluate MaskDisplay commands of block 'Digital_Speed_Governor/SC_UserInterface/HMI/BLADE MAX LIMIT SP RAISE//LOWER': File "spring_button.png" does not exist.
    Warning: Could not evaluate MaskDisplay commands of block 'Digital_Speed_Governor/SC_UserInterface/HMI/L65S1': File "spring_button.png" does not exist.
    Warning: Could not evaluate MaskDisplay commands of block 'Digital_Speed_Governor/SC_UserInterface/HMI/L65S': File "spring_button.png" does not exist.
    Warning: Could not evaluate MaskDisplay commands of block 'Digital_Speed_Governor/SC_UserInterface/HMI/POWER LIMIT SP RAISE//LOWER': File "spring_button.png" does not exist.
    Warning: Could not evaluate MaskDisplay commands of block 'Digital_Speed_Governor/SC_UserInterface/HMI/WG MAX LIMIT SP L65PL': File "spring_button.png" does not exist.
    Warning: Could not evaluate MaskDisplay commands of block 'Digital_Speed_Governor/SC_UserInterface/HMI/WG LIMIT SP RAISE//LOWER': File "spring_button.png" does not exist.
    Warning: Could not evaluate MaskDisplay commands of block 'Digital_Speed_Governor/SC_UserInterface/HMI/MANUAL RAISE//LOWER': File "spring_button.png" does not exist.
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>call setup_mssdk71.bat
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set COMPILER=cl
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set COMPFLAGS=/c /GR /W3 /EHs /nologo /MD -I"C:\Program Files\MATLAB\R2015b\extern\include" -I"C:\Program Files\MATLAB\R2015b\simulink\include" /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /DMATLAB_MEX_FILE
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set OPTIMFLAGS=/O2 /Oy- /DNDEBUG
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set DEBUGFLAGS=/Z7
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set LINKER=link
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set LINKFLAGS=/nologo /manifest /export: /DLL /LIBPATH:"C:\Program Files\MATLAB\R2015b\extern\lib\win64\microsoft" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /EXPORT:mexFunction
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set LINKDEBUGFLAGS=/debug /PDB:".mexw64.pdb"
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set NAME_OUTPUT=/out:""
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\VCPackages;C:\Program Files\Microsoft SDKs\Windows\v7.1\\Bin\x64;C:\Program Files\Microsoft SDKs\Windows\v7.1\\Bin;;;C:\Program Files\MATLAB\R2015b\bin\win64;c:\opal-rt\rt-lab\v11.0.1.390\common\bin;;.;
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v7.1\\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v7.1\\INCLUDE\gl;C:\Program Files\MATLAB\R2015b\extern\include;;
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set LIB=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Lib\amd64;C:\Program Files\Microsoft SDKs\Windows\v7.1\\Lib\X64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB\AMD64;C:\Program Files\MATLAB\R2015b\lib\win64;C:\Program Files\MATLAB\R2015b\extern\lib\win64;
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>set LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Lib\amd64;C:\Program Files\Microsoft SDKs\Windows\v7.1\\LIB\X64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB\AMD64;C:\Program Files\MATLAB\R2015b\extern\lib\win64;
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>cd .
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>nmake -f Digital_Speed_Governor.mk ISPROTECTINGMODEL=NOTPROTECTING
     
    Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
    Copyright (C) Microsoft Corporation. All rights reserved.
     
    'cmd' is not recognized as an internal or external command,
    operable program or batch file.
    NMAKE : fatal error U1077: 'cmd' : return code '0x1'
    Stop.
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>echo The make command returned an error of 2
    The make command returned an error of 2
     
    C:\Test_Matlab2015\slprj\accel\Digital_Speed_Governor>An_error_occurred_during_the_call_to_make
    'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
    operable program or batch file.
    ### Build procedure for model: 'Digital_Speed_Governor' aborted due to an error.
    Error: Error(s) encountered while building "Digital_Speed_Governor"
    Error: Problem creating Accelerator MEX file for model 'Digital_Speed_Governor'.
    Caused by:
        Error(s) encountered while building "Digital_Speed_Governor"
_____________________________________________________________________

Re: S-Function custom code with Simulink Accelerator

$
0
0
Impressing, 10 years are gone and the bug still exist!!

Matlab 2016a still does not support custom code s-functions within model references in accelerator mode.
Why is Mathwork still not able to provide the "SimUserIncludeDirs" or "CustomInclude" parameters to the link process for accelerator mode? Can't imaging anything easier.
Viewing all 24 articles
Browse latest View live