I am having troubles in renaming from script the output from a call to
It works fine when adding a tag manually from the GUI, but it fails when I try to do it from pipeline/script. It seems that the time-frequency map with the statistical results is not allowed as input since I get:
Error: Data type mismatch
Nevertheless, searching a little into the source code it seems to me that the function
process_set_comment.m should allow this kind of input (line 37).
I will be very grateful if someone can point me at where I am doing something wrong.