Community Profile

photo

David Fink

MathWorks

Last seen: 4 días ago Active since 2017

I work in the Engineering Development Group at MathWorks and have a background in Computer Science, Mathematics, and Physics.

My professional interests include MATLAB, Code Generation, and GPU Algorithms.

Statistics

  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer

View badges

Content Feed

View by

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

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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

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

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

más de 1 año 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

más de 1 año ago | 0

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

más de 1 año 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...

más de 1 año 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...

más de 1 año 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 ...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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,...

alrededor de 2 años 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...

alrededor de 2 años 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...

más de 2 años 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...

más de 2 años ago | 1

| accepted

Answered
Generation of C code from simulink
Based on the error message, Hd (a dsp.IIRFilter) contains a member that is a handle class, which let multiple names refer to the...

más de 2 años ago | 1

| accepted

Answered
how to convert matlab code to c with nonsuported functions for code generation
Please see Walter's comment, with one difference: As of R2019a, arrayfun is supported for code generation, with limitations: h...

más de 2 años ago | 0

Answered
Complete Example for Passing Array by Reference to C for Processing
Thanks for the recommendation! We're working on improving our documentation and this is valuable feedback. Let's see if I ca...

más de 2 años ago | 1

| accepted

Answered
Matlab coder prevent memcpy/ name alias without copy
If Structure1.structure2.list is a Handle Class, you can assign to another name (myList) and modify the original object via myLi...

más de 2 años ago | 0

Answered
What is the right way to work with Matlab coder dynamic and static allocations?
There are two recommended ways to avoid large stack usage and dynamic allocation in multiple iterations of the algorithm. For b...

más de 2 años ago | 2

| accepted

Answered
how to generate MEX from package function in MATLAB?
Functions within packages are not supported as entry-point functions. (Current as of R2018b) See the following question/answe...

más de 2 años ago | 1

| accepted

Answered
Online Parameter Estimation of Plant model
The System Identification Toolbox has command-line and Simulink functionality for Online Parameter Estimation: https://www.math...

casi 3 años ago | 0

Answered
Rte_Type.h file in generated code for AUTOSAR with Matlab function in Simulink
Try setting the DataScope for the Enum to "Exported": <https://www.mathworks.com/help/simulink/ug/using-enumerated-data-in-si...

casi 4 años ago | 0

Answered
DAQ USB 6008 is NOT RECOGNIZED
Make sure the Driver version is compatible with your release of MATLAB. Click "Third-Party Requirements" on the right side of fo...

casi 4 años ago | 0

Answered
how to make phased.CosineAntennaElement element pattern in z-direction
A linear array or planar array can be used to <https://www.mathworks.com/help/phased/ref/phased.cosineantennaelement-system-obje...

casi 4 años ago | 0

Answered
How can I choose the mex c object file (.o) output location?
To debug, you need to add the debug flag -g so that mex knows to compile with debugging symbols: mex -g -v mxisscalar.c -ou...

casi 4 años ago | 1

| accepted

Load more