photo

Jake Gareau


Last seen: 3 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Question


Embedded Coder Integer Saturation
In Stateflow I am using the "after" command as transition logic to delay the next state. I noticed in embedded coder generated...

10 days ago | 1 answer | 0

1

answer

Question


Code Generation for Delay block generates continuous if statement for loading initial value
Hello, I have the following model: it is a delay block with that should use the input at the first time step as the value. ...

1 month ago | 1 answer | 0

1

answer

Question


Generate Code for unused Variables in Data Dictionary
is it possible to declare some variables as global inside a datadictionary and have these variables show up in a declaration fil...

3 months ago | 3 answers | 0

3

answers

Question


Cannot run Referenced model in accelerator mode
I am unable to run a referenced model in accelerator, I have no issue doing so when the model is opened as the top model but onc...

3 months ago | 1 answer | 0

1

answer

Answered
Generated code (Embedded Coder) for Mod block generates expensive function call to rt_modf
using a C code function block or a state machine with the execution set to C language, the function "fmod" from the standard mat...

6 months ago | 0

| accepted

Question


Generated code (Embedded Coder) for Mod block generates expensive function call to rt_modf
Using the built in math function block for the mod operation generates an expensive function call in the generated code. I am u...

6 months ago | 1 answer | 0

1

answer

Question


Code Generation folder for C/C++ code block
Hello, I am using the C/C++ code block to include some custome C code in my model. I am buiilding the code by using the "Build...

10 months ago | 1 answer | 0

1

answer

Question


Run task after source control command in a Project
I have a Matlab project that is source controlled through git. I have a script I would like to run after I execute a branch sw...

12 months ago | 1 answer | 0

1

answer

Question


matlab structure in generated code for variant control
is there anyway to control how a matlab structure is generated with embedded coder? for example setting the storage class or nam...

12 months ago | 1 answer | 0

1

answer

Question


CodeGen Error using Grouped custom storage classes (struct / bitfield) with referenced model
I recieve the following error when trying to codegen with embedded coder: Error: Simulink Coder Error: Invalid DataScope 'Ex...

12 months ago | 2 answers | 1

2

answers

Question


External mode and Row Major
I have a model that I am attempting to Run in External mode on a F28379D Launch pad. However the mdel contains a look up table t...

1 year ago | 1 answer | 0

1

answer

Answered
Internal error calling rtw_optimization info
For me this problem was resolved by deleting the slprj folders

1 year ago | 0

Question


Model Advisor Error Occurred During model compile
Here is the error message I recieve when trying to run a specific check in model advisor "Identify questionable operations for s...

1 year ago | 1 answer | 0

1

answer

Question


Include variables from External sources in A2L file
hello, I am using codegen to create a function that I am integrating into some legacy code. So For example lets say I have some ...

1 year ago | 1 answer | 0

1

answer

Answered
a2l address replacement not working with .elf and structs
I found the problem. I was using Code composer studio to create the .ELF file which is using DWARF v4 as the default format. C...

1 year ago | 0

Question


Simulink Test Parameter Override with structs
I would like to use the paramter Override functionality in Simulink test to modify specific elements of a structure that resides...

1 year ago | 1 answer | 0

1

answer

Question


a2l address replacement not working with .elf and structs
when generating an a2l file for my model and providing the symbol file (.elf), the ECU addresses for all members of every struct...

1 year ago | 2 answers | 0

2

answers

Question


Generate root level virtual bus outport as struct
I have a model that outputs a virtual bus composed of a few subordinate buses. when I generate code, the model output is a str...

1 year ago | 2 answers | 0

2

answers

Question


Protected model has different behavior from base model
When protecting a model I find there is a difference in results between the base model and the protected model. I have found th...

1 year ago | 1 answer | 0

1

answer

Question


Creating Data Type Alias in the Generated Code, what is "creal32_T "
why does generating code with embedded coder produce two typedef for the data type in question? for example: #ifndef RTW_...

1 year ago | 1 answer | 0

1

answer