Skip to content

[BUG] Importing DICOM to workspace using 'matRad_ImportDicom()' #853

@weiyuqi7777

Description

@weiyuqi7777

Describe the bug
Hi, I'm very new to matlab. I'm trying to upload DICOM data to workspace by using script. I found the function 'matRad_ImportDicom()' under the 'matRad_DicomImporter'. I'm trying to use it to upload the data. However, it shows a error of 'Too many output arguments.' I then check 'nargout('matRad_importDicom')' and it shows the number of output of this function is 0. However, in the document, it shows that '[ct, cst, pln, resultGUI] = matRad_importDicom()'.

Screenshots
Code:
Image

Error:
1.
Image
2.
Image

Desktop (please complete the following information):

  • OS: Windows
  • Environment & Version: Matlab R2025a
  • matRad Version: v3.1.0-6-gc05a084

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdocumentationSomething missing / wrong in the documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions