Access data from DOM table object and generate a plot that will go in the report template using DOM API.
1 view (last 30 days)
Show older comments
I am designing a Matlab app using the app designer which will take user inputs and generate a report from the template using DOM API. The UI table gets data from the user and that is converted to a DOM.table object. I am looking to access the values either from UItable or DOM.table object to generate a plot that will go in the report. Below is the test code where a value from the DOM.table object which will be filled in a text box which does not seem to work (no errors/warnings), any help would be appreciated. Thank you.
table1_DUT = Table(tablefull_DUT); %UItable to DOMtable
tableval = entry(table1_DUT,2,2); %get a table object of 2nd row and 2nd column from DOMtable object
app.EditField.Value = tableval.Children.Content; %get value from the table object and assign it to textbox value
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!