Info

この質問は閉じられています。 編集または回答するには再度開いてください。

ismember is not supported for fixed-point conversion

1 回表示 (過去 30 日間)
Life is Wonderful
Life is Wonderful 2020 年 3 月 18 日
閉鎖済み: Life is Wonderful 2020 年 3 月 22 日
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.
Life is Wonderful
Life is Wonderful 2020 年 3 月 22 日
No worries. Thanks a lot for your help.

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by