time values must be monotonically non-decreasing

Hi, I have a mat file containing all my gas readings and need it for my simulation. However after I uploaded it onto my from file block and run, there is an error saying "Time values must be monotonically non-decreasing". What does this mean? As I have seen some mat files with data values that does not linearly decrease or increase but can still successfully run.

回答 (1 件)

Adam
Adam 2015 年 11 月 30 日
編集済み: Adam 2015 年 11 月 30 日

0 投票

Monotonically non-decreasing means that they must be in a non-decreasing order - i.e. values never increase between one reading and the next. It does not matter whether the increase is linear, exponential or arbitrary.
Since it doesn't say "strictly monotonically non-decreasing" or "monotonically increasing" equal consecutive values are allowed.

カテゴリ

ヘルプ センター および File ExchangeRun Unit Tests についてさらに検索

タグ

質問済み:

2015 年 11 月 30 日

編集済み:

2015 年 11 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by