Access data from DOM table object and generate a plot that will go in the report template using DOM API.
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!