Raise warning from simulink block mask initialization?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
From the mask initialization tab I am trying to check the value of a variable. If var == 999 I want to raise a warning. i.e. I want a warning to be shown in the Matlab command line. But using warning('message') or error('message') does nothing. Any ideas on how to do this? Thanks!
0 commentaires
Réponses (1)
Sreeram Mohan
le 19 Sep 2014
Hi Carlos,
Can you try using evalin('base', 'warning(''message'')') to see if that helps ?
--sreeram mohan
3 commentaires
Sreeram Mohan
le 29 Sep 2014
Can you try an feval combination with evalin ?
For example evalin('base', 'feval(''warning_function_class'', ''parameters'')')
Just a thought !
Sreeram Mohan
Voir également
Catégories
En savoir plus sur Sources dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!