Giter Club home page Giter Club logo

Comments (3)

joshStillerman avatar joshStillerman commented on May 25, 2024

Hi -
The matlab functions mds*() are supposed to return standard types. Connect may need fixing. The string returns have been fixed as far as I know. There is one further change to the string code when 2d arrays of strings are referenced. Do you have the current (alpha) /usr/local/mdsplus/matlab ? If so, and you have specific things that are not working correctly, let me know.

-Josh

from mdsplus.

hahnsh avatar hahnsh commented on May 25, 2024

Hi,
I have had the same issue reported in this thread, when I used a version 6.1.26 at a Linux server (SL6.3). Switching to the current "alpha" version on Mar/18/2015 resolved my problem, but my test might be too simple to answer the original question:

I tested the standard mds function at matlab R2014b as

mds_server = getenv('KSTAR_PCS_MDS_SERVER');
mdsconnect(mds_server);
status = mdsopen('kstar',shot);
  [str,ier] = mdsvalue('\T0_STR')

\TO_STR is supposed to read as a string.
If I use old version (MDS+ 6.1.26) for this command, mdsvalue() returns

  str= [1x1 java.lang.String]

which is not good. If I switched to the alpha,

  str =  '2014/08/11 14:06:37.898561'

FYI: Browsing the history on malab/NATIVEvalue.m, I found the fix has been applied quite recently so I suspect any "stable" version available at mdsplus.org does not reflect the fix.

from mdsplus.

tfredian avatar tfredian commented on May 25, 2024

I have just committed the fixes that were applied only to the alpha release back into the current stable releases so new stable kits will contain these fixes.

from mdsplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.