フィルターのクリア

Property validation for a vector

1 回表示 (過去 30 日間)
Safwane Benbba
Safwane Benbba 2020 年 11 月 27 日
コメント済み: Ameer Hamza 2020 年 11 月 28 日
How can I check that the property of a class is a vector?
This is what I have but it doesn't work:
properties
Col vector
end

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 11 月 27 日
You can use mustBeVector validation function.
properties
Col {mustBeVector}
end
  4 件のコメント
Safwane Benbba
Safwane Benbba 2020 年 11 月 27 日
I'm using R2019a, it says I can't update because I'm using the last version.
Ameer Hamza
Ameer Hamza 2020 年 11 月 28 日
Updates are only valid for a single release. You need to upgrade a license to use a new release. Upgrades cannot be applied to current version. You need a fresh installation.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by