Community Profile

photo

David Fink

Last seen: 2 months ago Active since 2017

Statistics

  • Knowledgeable Level 4
  • Knowledgeable Level 3
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Strange Coder error, compiler configured okay but detection failed
This error can occur if your version of Xcode is not supported, or Xcode is not fully installed or set up. To check which versi...

4 months ago | 0

Answered
How can i manipulate c code generated from MATLAB Coder?(DLL)
MATLAB Coder can be configured to use BLAS and LAPACK calls in generated code, which can improve the performance of linear algeb...

4 months ago | 2

Answered
C code generated by Matlab Coder has difference results due probable failure of copy on write
MATLAB Coder C code output is expected to match MATLAB results except for expected differences: https://in.mathworks.com/help/c...

12 months ago | 0

Answered
Matlab coder error "Error setting property 'HalfSupport' of class 'FeatureControl': Value must be logical (true or false)."
This may be a bug in MATLAB Coder, a corrupt installation, a search path which shadows core MATLAB functions (could try restored...

12 months ago | 0

Answered
Error deploying track object on Raspberry Pi. 'raspiObjectTracker'
See the comment from the MathWorks MATLAB Hardware Team, with instructions on updating a line in the example file raspiObjectTra...

12 months ago | 0

| accepted

Answered
Codegen failed to infer output size of built-in function, ??? Dimension 1 is fixed on the left-hand side but varies on the right ([1 x :?] ~= [:? x :?])
Thank you for reporting this! There have been some changes to downsample - try a recent version of MATLAB - R2021b or newer, wh...

1 year ago | 0

Answered
HDLcoder ignores coder.const
By making the call to get_pfb_weights opaque to code generation (so fixed-point conversion won't try to process it), you can cal...

1 year ago | 0

| accepted

Answered
Code generation for event functions and ODE solvers
All odeset inputs must be constant, but the anonymous function (which stores the value of params when the anonymous function is ...

1 year ago | 2

| accepted

Answered
why mexw64 generated by coder runs slower than pure .m file?
The C code generated by MATLAB Coder can be found in the codegen/mex/SUModd/ folder, so you can compare that against the handwri...

1 year ago | 0

| accepted

Answered
Exporting to JavaScript Angular Integration for Ionic framework
While MATLAB Coder doesn't currently offer conversion to JavaScript directly, see the following File Exchange submission which g...

1 year ago | 0

| accepted

Answered
Not able to generate c code from dpigen
Please reach out to MathWorks Technical Support to report this bug, and find out if there's a workaround: https://www.mathworks...

1 year ago | 0

Answered
Not able to use MINGW compiler for C++
As Gagan figured out, the Visual Studio compiler was not correctly installed, and uninstalling + reinstalling it allowed MATLAB ...

2 years ago | 0

Answered
Texas Instruments C2000 microcontroller problem with F28379D
In addition to being installed, licenses for those products must also be available. Please reach out to MathWorks Technical Sup...

2 years ago | 0

Answered
How can I deploy a face tracking algorithm to Raspberry Pi 4?
The Cascade Object Detector supports code generation, with some limitations: https://www.mathworks.com/help/vision/ref/vision.c...

2 years ago | 0

Answered
Error in Simulink.Bus - Struct conversion
Please reach out to MathWorks Technical Support for assistance with this: https://www.mathworks.com/support/contact_us.html

3 years ago | 0

| accepted

Answered
Interpolation with Piecewise Polynomials in Simulink
Wrapping the call to mkpp in coder.const will evalue it once during model update, and reuse that value during simulation. This ...

3 years ago | 0

Answered
i have excel design sheet which contains all DS I/O card information.so i want to filter the particular card information like how we do in excel.
I recommend importing into MATLAB as a table: mathworks.com/help/matlab/import_export/read-spreadsheet-data-into-table.html ...

4 years ago | 0

Answered
Unable to determine MEX compiler: use mex -setup to configure your system.
[Copying the answer here] At the MATLAB Command Prompt: mex -setup -v

4 years ago | 1

Answered
problem of custom target of board stm32f429
It looks like there are a few problems with the Makefile: "codertarget.arm_cortex_a.internal.getSpPkgRootDir" should have been ...

4 years ago | 0

Answered
Import Function is not supported
import is used to bring names into scope. Instead of: import x.y.* functionInXY(); use x.y.functionInXY(); Please contac...

4 years ago | 0

Answered
How to replace Nonscalar struct for Matlab Coder error?
centroids = cat(1, stats.Centroid); is just concatenating the centroid row vectors in the first dimension (vertical), which can...

4 years ago | 0

| accepted

Answered
What is the combined execution time of the Flux Observer and Speed Measurement block in Motor Control Blockset?
Runtime performance of generated code relies on a variety of factors, including: Hardware Code generation settings related to ...

4 years ago | 0

| accepted

Answered
How to import a pre trained linear regression model from python to matlab?
To import from Python to MATLAB, save the model in a format MATLAB can import: https://www.mathworks.com/help/deeplearning/deep...

4 years ago | 1

Answered
Fixed variable range in code translation
Yes, using "assert" statements. See examples on: Define Variable-Size Data for Code Generation Provide Maximum Size for Varia...

4 years ago | 0

| accepted

Answered
How can I Change/Set coder Error limit?
This is (for now) an internally-set limit. Similar to other compilers, some errors messages tend to "cascade", producing multip...

4 years ago | 0

| accepted

Answered
Missing builtin_typeid_types.h with OpenECU
Based on http://support.openecu.com/, it sounds like OpenECU r2.8.0 does not support RSim with MATLAB R2018b. I recommend reach...

4 years ago | 0

Answered
GUI for basic operations in Boolean algebra
Like Adam mentioned, you can set breakpoints to run your code one line at a time in order to find the problem. Alternatively,...

4 years ago | 0

| accepted

Answered
Can't "coder.loadDeepLearningNetwork" import a custom network model?
The crash in R2019b and error in R2019a are not expected. Please reach out to MathWorks Technical Support with the reproduction...

4 years ago | 0

Answered
Can't check out MATLAB coder license.
Please reach out to our Installation and Licensing Team for assistance with this issue: https://www.mathworks.com/support/conta...

4 years ago | 0

Answered
Convert C++ Code to Matlab Code with MATLAB 2019a
If your overall goal is to convert C++ code to MATLAB code, yes, manual conversion is still required in R2019a. However, if y...

5 years ago | 1

| accepted

Load more