Community Profile

photo

Ryan Livingston


Last seen: Today

MathWorks

201 2012 이후 총 참여 횟수

담당자

Ryan Livingston's 배지

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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
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...

9일 전 | 0

| 수락됨

답변 있음
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...

15일 전 | 1

| 수락됨

답변 있음
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 ...

3달 전 | 1

답변 있음
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...

3달 전 | 2

| 수락됨

답변 있음
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...

5달 전 | 0

| 수락됨

답변 있음
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')) %...

5달 전 | 1

| 수락됨

답변 있음
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...

8달 전 | 0

| 수락됨

답변 있음
Matlab Coder Memory usage
Without specifics of your project it's hard to give precise suggestions. The MATLAB Coder documentation has a performance sectio...

8달 전 | 0

답변 있음
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...

9달 전 | 2

| 수락됨

답변 있음
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...

11달 전 | 1

| 수락됨

답변 있음
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...

11달 전 | 0

| 수락됨

답변 있음
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...

12달 전 | 1

답변 있음
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...

약 1년 전 | 2

| 수락됨

답변 있음
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: ...

약 1년 전 | 1

| 수락됨

답변 있음
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...

약 1년 전 | 0

| 수락됨

답변 있음
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...

1년 이상 전 | 1

| 수락됨

답변 있음
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...

1년 이상 전 | 0

| 수락됨

답변 있음
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...

1년 이상 전 | 0

| 수락됨

답변 있음
Using hetrogenous cells for code generation
You can do this assuming that |nParams| is a compile-time constant. For example: codegen cellExample -args coder.Constant(4...

1년 이상 전 | 0

제출됨


coder-swig
Examples showing how to use SWIG to wrap MATLAB Coder generated C and C++ code for other languages

1년 이상 전 | 다운로드 수: 3 |

답변 있음
How to debug generated mex codes
*Moved from comment* To debug generated MEX code, just pass the -g option to codegen and that will compile a debug MEX file. You...

1년 이상 전 | 0

| 수락됨

답변 있음
Parallel Computation of Covariance and C Code Generation
*Update* Starting in R2018b you can generate code that calls a CBLAS as well as an LAPACK library: <https://www.mathworks.com...

1년 이상 전 | 3

답변 있음
How to debug generated mex codes
It sounds like you are generating MEX code. MEX code assumes that MATLAB is present and as a result it may have a large number o...

1년 이상 전 | 0

답변 있음
Can matlab coder generate code that uses a specified external uBLAS linear algebra library included with BOOST?
*Update* Starting in R2018b you can generate code that calls a CBLAS as well as an LAPACK library: <https://www.mathworks.co...

1년 이상 전 | 1

| 수락됨

답변 있음
why is mex parfor slower them mex for?
When I try your example on Linux (Debian 9) using GCC I see a good speedup with |parfor| in generated MEX: for : time = ...

1년 이상 전 | 1

| 수락됨

답변 있음
Why the same function is taking more time after MEX creation?
The MATLAB Coder documentation has a section covering acclerating MATLAB code via MEX generation: <https://www.mathworks.com/...

1년 이상 전 | 0

| 수락됨

답변 있음
This structure does not have a field 'rbm'; new fields cannot be added when structure has been read or used. #MATLAB Coder
MATLAB Coder support for cell arrays inside of structures was added in MATLAB R2017b: <https://www.mathworks.com/help/coder/r...

1년 이상 전 | 0

답변 있음
Makefile a matlab .m file
One option is to deploy your code using either MATLAB Compiler or MATLAB Coder. There's an overview of those two processes here:...

1년 이상 전 | 0

답변 있음
fscanf/Pointing to a file in MATLAB Coder?
Check out the example: <https://www.mathworks.com/help/coder/examples/read-a-text-file.html?searchHighlight=coderdemo_readfil...

1년 이상 전 | 0

답변 있음
How to load microsoft access table shortcuts that is compatible with Matlab Coder
There's no explicit MATLAB Coder support for loading these types of files. Are you trying to generate MEX code to speed up your ...

1년 이상 전 | 0

Load more