Change the fileName dynamically in save function

I made a terrable mistake.

1 fileName = strcat('table',num2str(1.1));
2 
3 save(fileName,'getTempTable');

 

Just find that I can't create a file named fileName.

Because the fileName variable '1.1' contains a dot symbol.

posted on 2013-01-31 15:43  daxiaoyuyu  阅读(145)  评论(0编辑  收藏  举报

导航