필터 지우기
필터 지우기

Simulink: Variable Lookup axis

조회 수: 1 (최근 30일)
Kai
Kai 2013년 1월 9일
Hi, I have a problem. I'm using Simulink & Embedded Coder. I want to create a 1-D Look up table with a variable x-axis. So for example I have a Lookup with a:
x = 0, limit, limit+10; y = 0, 10, 20;
What my problem is, I want to change the breakepoint "limit" via a CAN Signal but I don't know how I can link the breakepoint "limit" of my lookup with a CAN Signal for example a MPT Signal.
Thank you for your help.

채택된 답변

Ryan G
Ryan G 2013년 1월 9일
You could use a dynamic lookup table instead of a fixed lookup table. If you only have 3 data points you may be able to fit a curve to the data and have the inputs be limit and x to determine y.

추가 답변 (1개)

Kai
Kai 2013년 1월 10일
Thanks it's working now.

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by