Mismatch Data Types Fixed-Point Tool Simulink

조회 수: 1 (최근 30일)
Matteo Manzini
Matteo Manzini 2020년 5월 6일
Hello,
I am converting a Simulink model from floating-point to fixed-point. One of the subsystems in this model contains a Matlab Function.
The tool correctly proposes and applies the fixed-point types but when I simulate the model it tells me that there is a data mismatch after a signal enters in a unit delay block whose output goes into the Matlab Function. Basically the signal coming out from the delay block is a fixed-point one (and that is right) but then the Matlab function expects a double type. However, the input of the functione is correctly defined as a fixed-point type in the code I get after the proposal.
I'm attaching a couple of screenshots. I know it is a long question, hopefully someone can help me.
Thanks,
Matteo

답변 (0개)

카테고리

Help CenterFile Exchange에서 Fixed Point에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by