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:

Error:
1.

2.

Desktop (please complete the following information):
- OS: Windows
- Environment & Version: Matlab R2025a
- matRad Version: v3.1.0-6-gc05a084
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:
Error:


1.
2.
Desktop (please complete the following information):