Community Profile

photo

Ryan Livingston

Last seen: 12 jours il y a Actif depuis 2012

Statistics

All
  • Thankful Level 2
  • First Review
  • 5-Star Galaxy Level 2
  • GitHub Submissions Level 1
  • First Submission
  • Knowledgeable Level 5
  • Thankful Level 1
  • Pro
  • 6 Month Streak
  • Revival Level 2
  • First Answer

Afficher les badges

Content Feed

Afficher par

A répondu
How to include all required headers in code generated by MATLAB coder?
When I run the codegen command in MATLAB Coder in MATLAB R2022b, I see that all CXSparse files appear in the codegen folder unde...

3 mois il y a | 1

A répondu
Why isn't angle2dcm compatible with codegen?
I don't have a compelling reason for this limitation. So I created an internal note with your request to support this in the fut...

6 mois il y a | 0

| A accepté

A répondu
Add 'lib' prefix to libraries generated with MATLAB Code Generator
You can use the -o argument to codegen to rename the library: codegen somecode -args 1 -o libmylibrary In the Coder App the "O...

6 mois il y a | 0

| A accepté

A répondu
Matlab Coder force boolean_T to be native C99 bool type
This is question was asked on StackOverflow: https://stackoverflow.com/questions/71513527/matlab-coder-force-boolean-t-to-be-na...

10 mois il y a | 0

A répondu
MATLAB crashed when running MATLAB Coder.
Update This is a bug in MATLAB Coder. Details including workarounds are captured in: https://www.mathworks.com/support/bugrepor...

environ un an il y a | 2

| A accepté

A répondu
dde23 use in MATLAB coder for MEX files
Unfortunately the dde functions do not support code generation. I've made an internal note of your request so we can consider th...

environ un an il y a | 0

| A accepté

A répondu
How to define lower limit at while code generation?
There is unfortunately no way to define a lower bound for a size. In this case, if you define the upper bound, Coder will assume...

environ un an il y a | 1

| A accepté

A répondu
StackData macro not generated for C++
It is by design that the typedef guards are not present in C++. The use case you describe here is not one we had in mind for the...

presque 2 ans il y a | 0

| A accepté

A répondu
Automatic code generation of c++ code from matlab functions
There is not an option to return arrays as a return value from the generated functions. The documentation describes the expected...

environ 2 ans il y a | 0

A répondu
Embedded Coder give uncompilable code using dynamic arrays
This is a bug and has been reported to our development team. In addition to the postprocessing workaround suggested by Glenn, yo...

plus de 2 ans il y a | 0

A répondu
C code generation symbols not found linker error
In your ZIP file you'll notice files cg_imadjust.c, cg_imadjust_interminate.c that also need to be compiled and linked. main.c c...

plus de 2 ans il y a | 0

A répondu
How to write data to text file on raspberry pi using matlab
The MATLAB functions fopen, fprintf, fclose all support code generation. They use the C runtime library so they can run on the R...

plus de 2 ans il y a | 0

| A accepté

A répondu
Can I access an external (const) array within generated C++ code without copying the contents into a local array?
With Embedded Coder you can use the function coder.storageClass to pull in that array as an imported extern global variable: fu...

presque 3 ans il y a | 0

| A accepté

A répondu
Integrating Matlab Coder with c#
In addition to Bill's answer, generating the interface binding the generated C code to C# with something like SWIG is also an op...

presque 3 ans il y a | 1

| A accepté

A répondu
Equivalent command of "-M" at MCC in CODER GUI
There's no built-in way to pass a resource file to MATLAB Coder. You may be able to achieve this by adding the resource file as ...

environ 3 ans il y a | 1

A répondu
Matlab Coder Windows -> Linux cross-compilation
Check out: https://www.mathworks.com/matlabcentral/answers/71539-how-to-deploy-a-matlab-app-to-ios-and-android That links to a...

environ 3 ans il y a | 2

| A accepté

A répondu
Codegen: Remove date in header file
The CodeTemplate setting allows you to customize this. Here's an example: https://www.mathworks.com/help/ecoder/ug/generate-cus...

environ 3 ans il y a | 0

| A accepté

A répondu
Is there a version switch for codegen?
Use coder.const to forcibly constant fold the extrinsic call to verLessThan if coder.const(verLessThan('matlab', '9.1')) %...

environ 3 ans il y a | 1

| A accepté

A répondu
Matlab Coder Memory usage
Without specifics of your project it's hard to give precise suggestions. The MATLAB Coder documentation has a performance sectio...

plus de 3 ans il y a | 0

A répondu
Raspberry does not write in a created file
This is because of a bug in the Raspberry Pi system command in codegen. It doesn't trim the output to the proper size and instea...

plus de 3 ans il y a | 2

| A accepté

A répondu
Compile a C code on a Raspberry Pi with a library generated with Matlab C Coder
The generated code should not be depending on the headers emlrt.h, matrix.h etc. Those are only available when running in MATLAB...

plus de 3 ans il y a | 0

| A accepté

A répondu
Converting Matlab code with a function handle within a structure to C/C++
Function handles, and values containing them, are not supported as inputs and outputs from entry-point functions. As a workaroun...

plus de 3 ans il y a | 1

| A accepté

A répondu
Matlab Coder: How can ich define the inputs of a Mex file I want to generate if the input is a cell containing several strcuts?
If you have a variable that represents this cell array, call it cellVar, then you can use that to define by example in the Coder...

plus de 3 ans il y a | 0

| A accepté

A répondu
function coder.newtype not supported for code genertion
Can you elaborate on where you used coder.newtype? If using the codegen command you can: codegen myFunction -args {coder.typeof...

presque 4 ans il y a | 1

A répondu
Is there a way to disable line wrapping in generated C code from MATLAB Coder?
Edit As of MATLAB R2018b you can use the coder.EmbeddedCodeConfig setting ColumnLimit to control line wrapping in the generated...

presque 4 ans il y a | 2

| A accepté

A répondu
C++ code generated by Matlab coder too slow
If the bottleneck in the generated code is in fft or other MATLAB builtin functions, I'd suggest taking a look at this answer: ...

presque 4 ans il y a | 1

| A accepté

A répondu
Coder: Create a Makefile for Linux from Windows.
Unfortunately there is not a good way to achieve this with MATLAB Coder today. We've made an internal note of your request so we...

environ 4 ans il y a | 0

| A accepté

A répondu
Compile ODE solver with parameterized function
As of MATLAB R2016b, code generation with MATLAB Coder supports anonymous functions: https://www.mathworks.com/help/coder/relea...

environ 4 ans il y a | 1

| A accepté

A répondu
How to use varargout function with matlab coder?
Starting in MATLAB R2017b, MATLAB Coder supports varargout in entry-point functions. The documentation: https://www.mathworks.c...

environ 4 ans il y a | 0

| A accepté

A répondu
Error in generating code with custom FFT library in Matlab Coder
This is a bug in the generated code: https://www.mathworks.com/support/bugreports/1709696 As shown in the bug report, it was f...

environ 4 ans il y a | 0

| A accepté

Charger plus