How to generate ST code for s-functions?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sajjad allahgoli
le 14 Nov 2017
Réponse apportée : sajjad allahgoli
le 15 Nov 2017
I want to generate function that consist of 'tf' and 'c2d' but i face this error 'The 'tf' class does not support code generation'. what can i do?is there way to solve this problem?
0 commentaires
Réponse acceptée
Birdman
le 15 Nov 2017
There is nothing to be done for unsupported classes for code generation. But I assume that you are going to implement a control system, you can implement it by converting the system to a difference equation since eventually what you are going to obtain is a difference equation by discretizing your system. Hope this helps.
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Simulink PLC Coder 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!