How to read an engine calibration dataset in format *.dcm in Matlab?

How to read an engine calibration dataset in format *.dcm in Matlab 2010?
The dataset in *.dcm format will have strings and numbers.

5 Comments

This Function converts engine calibration dataset .dcm file to .mat file which can be directly loaded to workspace to get only the variables with valid matlab names
Example : dcm2mat('dcmfilename')
Output will be saved as : 'dcmfilename_out.mat'
Warning!
The code in the file provided by Anvar in the above comment is p code. Hence it's impossible to know what the code actually does.
Treat as any other random download off the internet. It may or may not do the job required and even if it does, it may or may not do something else at the same time.
An additional possible issue is that the dcm extension is often used for DICOM images (DIgital COmmunication in Medicin). If the function in the comment assumes it is a DICOM file, it will probably fail with a strange error.
Edit:
Anvar added a clarification that the dcm files this function reportedly loads are indeed engine calibration dataset files, so this comment is no longer really relevant.
there is this libary for reading dcm files i found very useful

Sign in to comment.

Answers (1)

To read an engine calibration dataset in the .dcm format using MATLAB, you can leverage the dicomread function.
X = dicomread(filename) reads the image data from the compliant Digital Imaging and Communications in Medicine (DICOM) file filename.
More about the ‘dicomread’ function can be gathered from the MathWorks documentation for the latest release as of now (R2024b) here: https://www.mathworks.com/help/images/ref/dicomread.html

Categories

Find more on Convert Image Type in Help Center and File Exchange

Products

Release

R2010b

Asked:

on 8 Jan 2019

Answered:

on 23 Oct 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!