Azzera filtri
Azzera filtri

Invalid workspace variable specified as workspace input in 'RangeEsti​mation_Sim​ulink/From Workspace'. Time values must be non-decreasing.

42 visualizzazioni (ultimi 30 giorni)
I was using Kalman Filter Block from Control Toolbox. It asks for Input(U) and Measurement(Y) which I gave correctly. But I also need to add a time column with it ?

Risposte (1)

Ayush Aniket
Ayush Aniket il 27 Ott 2023
Hi Sahil,
As per my understanding, the error message you have encountered, "Invalid workspace variable specified as workspace input in 'RangeEstimation_Simulink/From Workspace'. Time values must be non-decreasing," indicates a problem with the time values provided as workspace input in the 'From Workspace' block in Simulink.
The 'From Workspace' block in Simulink necessitates the data to be in a specific format, such as timeseries. Moreover, the time values in the input data should be of double data type and should increase monotonically, as these are referenced during the simulation time. For more information about the data types supported by this block, please refer to the following documentation link:
Assuming that you are using the 'From Workspace' block to provide the input variables Input(U) and Measurement(Y) for the Kalman Filter, these inputs must be paired and formatted into a time series format to be used as input with this specific block. Please refer to the example that utilizes both the 'From Workspace' and 'Kalman Filter' blocks, explaining the required format for the input data:
Hope it helps.

Community Treasure Hunt

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

Start Hunting!

Translated by