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
