catalog data convert into csv
Show older comments
Hi, I have a dataset in.catalog format. I need to convert it into .csv or .xlsx format for reading it in matlab.Is there is any tool freely available for this?
Please help me.Thank you.
12 Comments
Walter Roberson
on 22 Aug 2019
What is "catalog format" for this purpose?
Silpa K
on 23 Aug 2019
Walter Roberson
on 23 Aug 2019
Is that a file produced by CATIA ? If so you might need to connect to CATIA by ActiveX and interact with it.
If you can export the file as VRML from CATIA then https://www.mathworks.com/help/sl3d/import-vrml-models-from-catia-software.html
Silpa K
on 23 Aug 2019
Walter Roberson
on 23 Aug 2019
Edited: Walter Roberson
on 23 Aug 2019
I cannot find any publicly known program to convert CATIA .catalog files for use with MATLAB, except by opening them inside CATIA and saving them in a different format there (which is what would happen if you were to use ActiveX) . I can only find a bit of documentation admitting that .catalog files exist (as opposed to .catdoc files for example.)
I do find the document https://ojs.unsw.adfa.edu.au/index.php/juer/article/download/1011/639 "An Automated Interface for CATIA and MATLAB with an Optimisation Capability" by Dael E. Liddicoat suggesting that someone has gone through some effort to create a better interface.
Silpa K
on 23 Aug 2019
Walter Roberson
on 24 Aug 2019
I have to say, the earthquake data you posted in the other Question sure does not look like CATIA data.
I asked you if it was created by CATIA.
Silpa K
on 25 Aug 2019
Guillaume
on 25 Aug 2019
So, again, what is a .catalog file? What program was used to created that file.
A file extension on its own is not enough for us to know how the file can be read. Many programs could be used to create a file with a .catalog extension, files that would use completely different formats.
Walter Roberson
on 25 Aug 2019
In https://www.mathworks.com/matlabcentral/answers/477363-time-reading-in-matlab you showed us a .catalog file that was created by an earthquake monitoring facility, and the answers to that question showed two fairly different ways of reading that file. Do those answers there also solve the question here ?
Silpa K
on 27 Aug 2019
Walter Roberson
on 27 Aug 2019
If you use the code that I posted there then you can use writetable() to write the data to an excel file.
Answers (0)
Categories
Find more on Seismology in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!