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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 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년 전 | 답변 수: 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년 전 | 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0
