how does dicomConnection work ?

5 views (last 30 days)
Fayez Alruwaili
Fayez Alruwaili on 18 Feb 2025
Commented: Walter Roberson on 22 Feb 2025
Hi everyone,
I am trying to use dicomConnection to connect to a server Osirix (other computer on the same network). I have things setup as
dConn = dicomConnection("XXX.XXX.XXX.105", XXXSX2, EnableTLS=false, AETitle="XXX-PACS3");
It keep giving me connection failed
dConn.ResponseMessage = 'C:\Program' is not recognized as an internal or external command,operable program or batch file..
Not sure how to generate the "key.pem","certificate.pem","trusted-certificate.pem" and if there are required to astable connection.
Please let me know,
Thanks

Answers (1)

Samar
Samar on 20 Feb 2025
The usage of MATLAB function dicomConnection seems correct. The error message given is a known issue. The compiler MinGW does not work if installed in a path that contains spaces, such as:
C:\Program Files\mingw-64
The error message can be avoided if the compiler is installed on a path which does not contain any spaces. Refer to the following post by MathWorks Support Team for more information.
Hope this is beneficial.
  2 Comments
Fayez Alruwaili
Fayez Alruwaili on 22 Feb 2025
Edited: Fayez Alruwaili on 22 Feb 2025
@Samar Thanks for suggestion. I followed your suggestion but the problem still exists.
Thanks
Walter Roberson
Walter Roberson on 22 Feb 2025
I would be surprised if the compiler had anything to do with the situation. More likely the situation has to do with some other program. Unfortunately I do not know which other program it might be (I do not have that toolbox, and I am not using Windows.)

Sign in to comment.

Categories

Find more on EEG/MEG/ECoG 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!