Skip to content

The MDSplusAPI.m script causes MATLAB to hang #3005

@mwinkel-dev

Description

@mwinkel-dev

Affiliation
MIT PSFC

Version(s) Affected
alpha-7-157-0 and perhaps other versions too

Platform(s)
macOS Tahoe (Apple Silicon) with MATLAB R2024b

Installation Method(s)
Developer build

Describe the bug
The MDSplusAPI.m script does retrieve data from a tree, but causes MATLAB to hang on the exit command.

>> mdsip = MDSplusAPI('localhost')

mdsip = 

  MDSplusAPI with properties:

     con: [1×1 mds.mdsip.MdsIp]
     api: [1×1 mds.MdsApi]
    tree: []

>> mdsip.open(‘mytree', 5)
 
>> mdsip.execute('num1')

ans =

80

>> exit

To Reproduce
Launch MATLAB and then run the following commands. Of course, change "localhost" to an appropriate server name.

>> mdsip = MDSplusAPI('localhost')
>> exit 

Expected behavior
This alternate API should not cause MATLAB to hang on exit.

Screenshots
n/a

Additional context
Is this alternate API for MATLAB still needed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    api/matlabRelates to the Matlab APIbugAn unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions