How to create a list using DSWS

Hi,

I am trying to create a list of constituents, using dsws in Matlab. How can this be done? I checked all documentation I could find, but I didn't find any explanation or examples...

I was told that the Matlab dsws uses the same underlying api as the excel add-ins, so it should be possible. Because in excel, this can easily be done using a request-table. But we are trying to work in Matlab, and are looking to avoid having to move to excel, get those add-ins loaded, perform the request-table, and transfer the results back to Matlab. Which causes delays, and trouble with N/A values etc.

Any help is appreciated!

Best Answer

  • [Deleted User]
    [Deleted User] Newcomer
    Answer ✓

    Hi @jens.verbrugge,


    I'm afraid that we can’t create lists via the Matlab API at the moment. This needs to be done within DFO (Datastream For Office) and then can just be retrieved via the DSWS in Matlab. We are actually creating a native interface, to pull directly from the API this year to include all user created items, such as lists, expressions, time series etc.

    This happens to have been outlined in this Q&A: 'you cannot create UCTS data from MATLAB '.


    Note that there is a function in the R library that does just that, but this reverts back to DFO to perform the upload...

Answers