photo

RW


Active since 2016

Followers: 0   Following: 0

Statistics

MATLAB Answers

8 Questions
2 Answers

RANK
13,548
of 300,756

REPUTATION
3

CONTRIBUTIONS
8 Questions
2 Answers

ANSWER ACCEPTANCE
12.5%

VOTES RECEIVED
3

RANK
 of 21,077

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,890

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Thankful Level 1

View badges

Feeds

View by

Question


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 ago | 0 answers | 1

0

answers

Question


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 ago | 0 answers | 0

0

answers

Question


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 ago | 0 answers | 1

0

answers

Answered
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 ago | 0

Question


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 ago | 1 answer | 1

1

answer

Answered
using codegen hist(z, sqrt(length(z)) error scalar X must be constant
thanks a lot. That works

9 years ago | 0

Question


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 ago | 2 answers | 0

2

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 2 answers | 0

2

answers

Question


??? 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 ago | 1 answer | 0

1

answer