save a .spc-file using Matlab
显示 更早的评论
Hi there,
I am a bit new to this, so sorry for the intrusion if this question is redundant. I am working on a script that needs to change certain values in a .spc-file and save it again using the same filename. The .spc-file itself is actually a column-vector containing real numbers. I tried the following as example:
l1091 = load('D:\...\l1091.spc');
l1091(51) = 10;
l1091(52) = 5;
save D:\...\l1091.spc -ascii
However, this returns a .spc-file of no use as these are ascii-values and I need real numbers again. If I try without -ascii the output is gibberish.
I also tried the GSTools v0.4.3 by Kris de Gussem, but I could not use the GSScpRead and I do not know what kind of variables I have to use for the GSScpWrite function.
Does anyone have some idea to solve this problem? It will be much appreciated.
Sincerely,
Mick
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Standard File Formats 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!