Printing a dataset as part of error message

1 次查看(过去 30 天)
I am trying to put check in my process that if there is any duplicate item in inputs, error out the program. I am able to find what are the duplicate items and print simple error message using MException()
But i want print the dataset also so that user know what are the duplicate items. What do i do?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Error Handling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by