MATLAB: Am I unable to export the data from the “ident” GUI of the System Identification Toolbox 6.0.1 (R14)

assigninexportidentidentificationr14sysidsystemSystem Identification Toolbox

Upon trying to export data from certain data sets I have contained in the "ident" GUI of the System Identification Toolbox, I receive the following error in the MATLAB command window:
??? Error using ==> assignin
Invalid variable name "FRdata_16 " in ASSIGNIN.
Error in ==> iduidrop at 237
assignin('base',dat_n,dat);
Error in ==> idmwwb at 86
[dat,dat_n,dat_i,do_com]=iduidrop(cura,new);
??? Error while evaluating figure WindowButtonDownFcn.
This error only occurs for certain data sets, and I am unable to tell the difference between the data which produces the error and the data which does not.
Why does this error occur and how can I export the desired data to the workspace?

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
This has been verified as a bug in the System Identification Toolbox 6.0.1 (R14) in the way that the IDENT GUI handles data with spaces in the name, including trailing spaces. For example, this problem occurs when the data set is named:
'My Data Set '
Note this data set has spaces between each of the words as well as a space at the end of the name. Since this is not a valid MATLAB variable, this error is produced.
Currently, to work around this issue, rename all data sets which contain spaces, or that would otherwise be invalid as MATLAB variables.