Comments (3)
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.
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.
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)
- NDEBUG defined when including <mdsobjects.h> HOT 1
- np.str deprecated for numpy >= 1.24.0 - breaks MDSplus python HOT 3
- !!!!!!Error opening tree for shot -1: %TREE-E-FAILURE, Operation NOT successful.!!!!!! HOT 1
- getShotDB does not include shots stored in paths with shot digit wildcards HOT 1
- Configuration of mdsip server for TCP/IP-based events transferred among subnetworks HOT 1
- GETNCI(\\PATH::TOP.TO:NODE, "RECORD") doesn't seem to work? HOT 6
- Question: Can one embed dimensions in an image displayed in jScope? HOT 6
- Add locks to MDSip so that copying references to trees in threads works
- Failure to error catch when using the C++ API
- Accessing Visual Basic files HOT 4
- Remove the ALIAS feature
- Incorrect JAVASOURCE in Makefile.am? HOT 6
- .deb and .rpm packages do not install jDevices.jar HOT 5
- bootstrap class path warnings
- MDSplus for Windows installs 56 files in the System32 directory
- MDSplus contains Java 6 source code which cannot be compiled with modern JDKs HOT 2
- Can not store array of nids in a numeric node HOT 2
- jTraverser2 fails to display VMS floating point numbers (DTYPE_F) HOT 3
- The "alpine*-armhf" images in Docker Hub (for the MDSplus build system) don't have a working Java HOT 2
- Multiple alpha build versions' IDL fails on first MDSconnect HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdsplus.