To see workspace table data from lookupTableEditor

2 vues (au cours des 30 derniers jours)
Jack Daniels
Jack Daniels le 10 Déc 2024
Réponse apportée : Jayanti le 24 Déc 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?

Réponses (1)

Jayanti
Jayanti le 24 Déc 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!

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by