To see workspace table data from lookupTableEditor

3 次查看(过去 30 天)
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