Error using closereq while trying to capture a Data Matrix
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm using a live script that gets it data from a table generated in a UI and generates a matrix after closing the UI figure.
All was working good until suddenly I go the message:
Error using closereq
Error while evaluating Table DeleteFcn.
Here is my code:
core_data = zeros([rows, cols]); % Rows and cols are defined using the slider.
%% Make Table
uT = uitable;
uT.ColumnName = {'Flux' 'Frequency' 'Power'};
uT.Position = [100 100 275 260];
uT.Data = core_data;
uT.ColumnEditable = true;
uT.DeleteFcn = @getTableData;
waitfor(uT); % Waits for table to close
the offensive line is at uT.DeleteFcn = @getTableData
Do someone knows how to fix this??
2 commentaires
Angelo Yeo
le 3 Mar 2024
And, how do you define getTableData? I can't reproduce the issue only with the code you shared.
If you would, it's best to share the live script with the issue.
Réponses (0)
Voir également
Catégories
En savoir plus sur Strategy & Logic dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!