photo

David Fink

Last seen: 13 days ago Active since 2017

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

Answered
inputParser not supported by MATLAB Coder
Many of the use cases handled by inputParser are now supported by the arguments block, which supports code generation. This mod...

4 months ago | 0

| accepted

Answered
How to solve type mismatch error when assigning variable to class in conditional?
In code generation, since the generated code is statically typed, the type of this.prop must be determined at code generation ti...

5 months ago | 0

| accepted

Answered
Including custom code to NVIDIA Jetson Platform
This could be a C++ compiler installation issue (std library headers aren't automatically on the include path), a build configur...

5 months ago | 0

Answered
Matlab (Matlab coder) suddenly crashes when using codegen
Thank you for reporting this bug - we have recieved the crash reports that you've sent. Please reach out to MathWorks Technical...

7 months ago | 0

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...

11 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...

11 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...

1 year 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...

1 year 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...

1 year 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...

2 years 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...

2 years 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 ...

2 years 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...

2 years 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...

2 years 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...

2 years 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 ...

3 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...

3 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...

3 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

4 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 ...

4 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

Load more