Feeds
提问
codegen how to specify convert to C++ code or dll rather than C?
codegen the command explanations always say C/C++. But I want to specify converting to C++ rather than C, it says it can do so "...
9 years 前 | 0 个回答 | 1
0
个回答提问
codegen doesn't support fit function, is there a work around way to implement same functionality?
I use codegen to generate C code from Matlab code. In Matlab code, I use fit function for a simple linear fit z=a+b*x+c*y. Also...
9 years 前 | 0 个回答 | 0
0
个回答提问
codegen will replacing a subfunction with dummy function work?
I am using codegen to convert a Matlab code to C. Part of the code contains quite a few Matlab functions that are not supported ...
9 years 前 | 0 个回答 | 1
0
个回答已回答
codegen nz = filtfilt(ones(1,8)/8,1,nz) error: Dimension 2 is fixed on the left-hand side but varies on the right ([:? x 1] ~= [:? x :?]).
find a get around: nz=nz(:); %so nz is a vector; nz_1 = filtfilt(ones(1,8)/8,1,nz);%RW:insert constant value of n_fil...
codegen nz = filtfilt(ones(1,8)/8,1,nz) error: Dimension 2 is fixed on the left-hand side but varies on the right ([:? x 1] ~= [:? x :?]).
find a get around: nz=nz(:); %so nz is a vector; nz_1 = filtfilt(ones(1,8)/8,1,nz);%RW:insert constant value of n_fil...
9 years 前 | 0
提问
codegen nz = filtfilt(ones(1,8)/8,1,nz) error: Dimension 2 is fixed on the left-hand side but varies on the right ([:? x 1] ~= [:? x :?]).
I use codegen to generate C code from Matlab code. in a Matlab sub-function, I have the following code: nz=nz(:); %so ...
9 years 前 | 1 个回答 | 1
1
个回答已回答
using codegen hist(z, sqrt(length(z)) error scalar X must be constant
thanks a lot. That works
using codegen hist(z, sqrt(length(z)) error scalar X must be constant
thanks a lot. That works
9 years 前 | 0
提问
using codegen hist(z, sqrt(length(z)) error scalar X must be constant
I use codegen to generate C code from Matlab code. in a Matlab sub-function, I have a line of code: [nz, bins] = hist(z, sq...
9 years 前 | 2 个回答 | 0
2
个回答提问
codegen -args {example_inputs} what should example_inputs be for MWArray args
I use codegen to generate C code from Matlab code. according to codegen syntax, I need to put examples of function arguments in ...
9 years 前 | 1 个回答 | 0
1
个回答提问
codegen error diff(a)~=0
I use codegen to generate C code from Matlab code. in the Matlab function, I have a line of code: a=quantile(double(reshape...
9 years 前 | 2 个回答 | 0
2
个回答提问
??? Unexpected MATLAB operator (:) when using codegen to generate C code
I use codegen to generate C code from Matlab code. in the Matlab function, I have a line of code: a=quantile(double(z(:))...
9 years 前 | 1 个回答 | 0
