Answered
What are the limitation on arrays of objects with MATLAB coder?
The later is correct. As of R2017b, MATLAB Coder does not support arrays of objects, so if your MATLAB code creates an array of ...

casi 4 años ago | 2

Answered
How to check memory of code generated by MATLAB Coder?
If you have Embedded Coder product, then you can use Static Code Metrics tab in the compilation report - you should be able to s...

casi 4 años ago | 0

Answered
How go compile and run generated C++ code in Microsoft Visual Studio 2013
Hi Lukai, note that you have generated code for a MEX function (aka config:mex) as opposed to standalone (aka config:lib). I am ...

casi 4 años ago | 0

Answered
how to compile matlab generated c code on raspberry pi
Here is a tutorial for how to convert MATLAB code to C and compile/run it on Raspberry PI: http://www.mathworks.com/matlabcen...

más de 4 años ago | 0

Answered
Displaying progress from a file compiled to MEX with MATLAB Coder.
A combination of 'drawnow' and 'mexPrintf' seem to work: function test1 coder.extrinsic('drawnow'); for i = 1:100...

más de 5 años ago | 1

Answered
I want to take output from a denoising algorithm. Kindly guide me for this, I should create any package/ project/service in matlab like eclipse? I have the image for which I want to use as input.
Calling Java from MATLAB: <http://www.mathworks.com/help/matlab/using-java-libraries-in-matlab.html Call Java from MATLAB> ...

más de 5 años ago | 0

Answered
The return value of the extrinsic function is a variable array, How can I access it?
After the call to fast_union_sorted(), read the size of the return value, and reallocate J to be of that size: coder.varsiz...

más de 5 años ago | 0

| accepted

Answered
How to convert matlab code to c/c++ code?
I'm not aware of any other tool or product that converts MATLAB code to C/C++, other than MATLAB Coder. Your options are: * W...

casi 7 años ago | 0

Answered
How to increment real world time in matlab function block of simulink?
I don't think there is a way to "fast forward" the simulation time. However, you can achieve nearly same result by placing your ...

casi 7 años ago | 0

Answered
Simulink - Embedded Matlab function - Size of function not bounded
Hi Carl, Since csapi and fnval do not support code generation (that's why you used extrinsic on those), you can as well move ...

casi 7 años ago | 0

| accepted

Answered
Usage of Step Function in Matlab Coder?
Replace the assert statements with the following: assert(isa(I, 'uint8')); assert(size(I, 1) < 100); assert(size(I, 2...

casi 7 años ago | 0

| accepted

Channel


HomeTemp
Temperature and Humidity data

casi 7 años ago

Answered
How to use symbolic variables and functions (Syms) in a Simulink Matlab Function?
I think the only solution is to use the syms function inside a separate .m file and call that file as extrinsic. Create a ne...

más de 7 años ago | 5

| accepted

Answered
About CVXGEN: how to call a custom C-mex from an MATLAB Function block in simulink?
It looks to me that the problem you are hitting is that cell arrays are not supported inside MATLAB Function Block. I see two wo...

más de 7 años ago | 0

Answered
embbed function simulink with signal
I was able to make your example work in Simulink after adding the following line before call to "linspace": assert(N<10000)...

más de 8 años ago | 0

| accepted

Answered
Trouble with variable-input sizes in Embedded Matlab
To fix this problem, go to Ports and Data Manager (menu Tools / Edit Data Ports), click on the line for "Pairs", check the check...

más de 10 años ago | 0

Answered
Multi-dimensional arrays indexing for an embedded matlab function in simulink
Hi David-Linus, As Fangjun said, these look like two different issues. Can you show me your model so I can see the problem?

más de 10 años ago | 0

Answered
Multi-dimensional arrays indexing for an embedded matlab function in simulink
Please try replacing > images = zeros(x,y); with > images = zeros(x,y,count); Embedded MATLAB function block does no...

más de 10 años ago | 0

| accepted