How can we create simulink block using .m file ?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have written a compression code in matlab which I have to run it on Raspberry pi. My project consists of many .m files and want to create my own blocks and come out with Simulink model. Is there any way to create own Simulink blocks and set our own parameters?
1 commentaire
Anuja Vats
le 1 Août 2017
I am doing something similar to you, have an image processing algorithm as m file (calling other functions in it) to be run on raspberry pi stand alone. Pleas let me know what worked best for you for creating the simulink model.
Réponse acceptée
User_in_Gim
le 6 Avr 2017
Maybe you can find what you want with S-Function or Matlab function in the User-definied Functions library.
2 commentaires
User_in_Gim
le 6 Avr 2017
S-Function will do the job, actually I'm using this block to call some of my c functions ( one function calling all he others).
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Functions 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!