Simulink ToWorkspace block generates timeseries with incorrect data dimensions.
Mostrar comentarios más antiguos
I have a large simulink model with multiple ToWorkspace blocks in it. For some reason, some of the timeseries generated have a data dimension of nxm where the data dimension at time t is m and the dimension of the time vector is n. Seems to me that the last data dimension should correspond to the length of the time vector. All the multidimensional timeseries generated are the expected pxmxn with the time vector of length n. Not all of the 1 dimensional timeseries are incorrect. The settings for all the ToWorkspace blocks are the same. Very frustrating as I need to do complicated time analyses and the incorrect data dimensions keep breaking things.
I'm using 2013b.
Respuesta aceptada
Más respuestas (2)
Ian Dougherty
el 22 de Nov. de 2016
Editada: Ian Dougherty
el 22 de Nov. de 2016
Vishal Chouhan
el 23 de Nov. de 2019
0 votos
Normally, when i choose timeseries in "to workspace" block to collect my data from my simulink model, but this time i used it i got nothing but a empty struct in my workspace, simulation run for 124sec simulation time (discrete 1e*(-05)), is there any data storage limitation in timeseries (to workspace)? i dont know what happend ,my simulation took 5 hour to simulate my model,
Categorías
Más información sobre Signals en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!