Property validation for a vector
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Safwane Benbba
il 27 Nov 2020
Commentato: Ameer Hamza
il 28 Nov 2020
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
0 Commenti
Risposta accettata
Ameer Hamza
il 27 Nov 2020
You can use mustBeVector validation function.
properties
Col {mustBeVector}
end
Functions are listed here: https://www.mathworks.com/help/matlab/matlab_oop/property-validator-functions.html
4 Commenti
Ameer Hamza
il 28 Nov 2020
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.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!