Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Problem in Code Generation for LookUp blocks

조회 수: 2 (최근 30일)
Vivek
Vivek 2014년 4월 9일
마감: MATLAB Answer Bot 2021년 8월 20일
My row and column index values are defined using variable parameters(eg: x=xRow, y=yCol, where xRow=[1 2 3],yCol=[4 5 6]). But my z Table data is direct constant values(eg: [1:3;4:6;7:9]). Datatype of x,y,z is uint8
In the code generated for this lookup using RTW, x and y are declared as calibratable parameter whereas my z is declared as constant in the C file.
So this will be a problem in the "run time", this would not allow to change any value on the tables online. Therefore, for calibration purposes it's an issue.
Please provide me some suggestion(other than declaring z table data as variable param) to correct this.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by