Info

This question is closed. Reopen it to edit or answer.

ismember is not supported for fixed-point conversion

1 view (last 30 days)
I am coverting the floating point to fixed point using Matlab coder
Below is code
function isOut = Verify_ismember_data()
Y = 51;
locs = 4;
isOut = ismember(1:Y,locs); % I tried isOut = all(ismember(Y,locs)) & intersect- this does not help
plot(isOut,'b-x','Linewidth',2);
ismember is not supported for fixed-point conversion.
  7 Comments
Adam Danz
Adam Danz on 20 Mar 2020
I'm afraid I don't have enough experience with Matlab Coder to be of much assistance here.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!