To see workspace table data from lookupTableEditor

조회 수: 2 (최근 30일)
Jack Daniels
Jack Daniels 2024년 12월 10일
답변: Jayanti 2024년 12월 24일
I have a Table data available in Worksapce and I can launch the lookupTableEditor from command lin but how can I see the table data from within workspace in ? There is "Open" button for reading from the file but to read the data from workspace?

답변 (1개)

Jayanti
Jayanti 2024년 12월 24일
Hi Jack,
I Understand you want to open a lookup table using the “lookupTableEditor” with your MATLAB workspace data, start by preparing your data. Ensure that both the breakpoints and table data are defined as variables in the workspace.
Please refer to the following steps-
  1. Open your Simulink model and drag and drop the Lookup Table block from the Simulink library into your model.
  2. Double-click it to open the parameter dialog box.
  3. In the dialog box set the “Number of table dimensions”.
  4. In the “Table data” field, enter the variable name containing your table data.
  5. In the “Breakpoints” field, enter the variable name for your breakpoints.
  6. Then navigate to “LOOKUP TABLE” present in toolstrip and select “Lookup Table Editor” to view your workspace data.
You can also refer to the below documentation to know more about how to enter breakpoints and table data:
Hope this will be helpful!

카테고리

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

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by