Fast EXPORT CSV StaMPS

Hello everyone.
I would like to share this script which solves some export problems.
It simply
place ps_export_csv_simple_PS and ps_export_csv_simple into the folder “matlab” of StaMPS.
Just define asc_name
and run ps_export.

ps_export_csv_simple_PS(‘u-dmos’,[],asc_name); %FOR PS
ps_export_csv_simple(‘u-dmos’,[],asc_name); %FOR SBAS
asc_name=‘path/… .csv’
Different plot like ‘u-dmos’ ‘u-dm’ ecc… can be selected. (see inside ps_export)

If anyone has time they can implement the aps corrections (like linear ecc… ‘u-dao’ ecc…)

ps_export_csv_simple_PS.m (18.5 KB)
ps_export_csv_simple.m (16.9 KB)

6 Likes

Mr. volter29
Thank you very much for sharing. Would I have some questions to ask?
I tried to use PS script, but there were some errors. How can I avoid such errors
1661936380411
Chinese main idea in the figure:
Wrong use of fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.

I find the wrong at asc_name,thank you for your sharing