Using Lockup Table n-D with vector variable cause dimension error

1 回表示 (過去 30 日間)
Jan Majewski
Jan Majewski 2018 年 11 月 21 日
編集済み: Jan Majewski 2018 年 11 月 21 日
I use a variable n[] for the table data and t[] as Breakpoints.
However if n and t only have one entry following error accours:
Dimension 1 of the table in block 'block' has a size of 1. Each tabledimension must have at least 2 elements.
i.e.
n = [10] and t = [0] creates the error.
n = [10 20] and t = [0 1] works just fine.
n and t are specified in a script.

回答 (0 件)

カテゴリ

Help Center および File ExchangeEngines & Motors についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by