Info

此问题已关闭。 请重新打开它进行编辑或回答。

ismember is not supported for fixed-point conversion

1 次查看(过去 30 天)
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 个评论
Adam Danz
Adam Danz 2020-3-20
I'm afraid I don't have enough experience with Matlab Coder to be of much assistance here.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by