Exponential Degradation model in simulink

1 Ansicht (letzte 30 Tage)
Ignacio Vega
Ignacio Vega am 5 Mär. 2019
I want to implement an "exponentialDegradationModel" in simulink. Basically I want to use simulink to read in each step a value from a sensor and update with this value the "exponentialDegradationModel" so to estimate RUL in every step. In Matlab environment is quite straight forward:
update(mdl,newValue); %mdl is the exponentialDegradationModel and newValue the value I use to update.
But when I do the same in Simulink using mdl and a newValue as input of the function block I get thefollowing error:
"Unsupported input format for From Workspace block 'RemainingLife/mdl'. Available formats are double non-complex matrix, a structure with or without time, or a structure with MATLAB timeseries as leaf nodes. All formats require the data to be finite (not Inf or NaN)".
I am reading mdl and newValue from workspace.

Antworten (0)

Kategorien

Mehr zu Predictive Maintenance Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by