The issue was that the message is in the form of cell array so I converted into char first and it worked.
So, am closing this question.
Info
此问题已关闭。 请重新打开它进行编辑或回答。
此问题已关闭。
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!