To see workspace table data from lookupTableEditor

3 visualizzazioni (ultimi 30 giorni)
Jack Daniels
Jack Daniels il 10 Dic 2024
Risposto: Jayanti il 24 Dic 2024
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?

Risposte (1)

Jayanti
Jayanti il 24 Dic 2024
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!

Categorie

Scopri di più su Tables in Help Center e File Exchange

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by