Error in dlarray function

4 views (last 30 days)
BR on 5 Jun 2020
Answered: Raynier Suresh on 16 Feb 2021
I keep on receiving this message everytime I have tried to use dlarray function. For e.g. for a simple code as
numFeatures = 10;
numObservations = 32;
sequenceLength = 64;
X = dlarray(randn(numFeatures,numObservations,sequenceLength), 'CBT');
I always get this message;
Check for missing argument or incorrect argument data type in call to function 'dropTrailingODims'.
However, if I tried to use a built-in code (like using live script for an example that uses dlarray), it seems to be working fine.
I am using r2020a by the way.
BR on 17 Dec 2020
Nope and no help either yet.

Sign in to comment.

Answers (1)

Raynier Suresh
Raynier Suresh on 16 Feb 2021
Hi, I am unable to reproduce this at my end. It would be useful for investigation if you can provide the entire workflow and the complete error message.


Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by