How to set output of MATLAB function block as fixed size?
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a MATLAB function block in Simulink. The dimensions of the output are defined by block inputs, but remain constant during the simulation. How can I get Simulink to define it as a fixed-size output?
11 commentaires
Adil Murtaza Zuberi
le 17 Fév 2020
Thank you but as described, there will be later on custom code inside the funtion block, therefore it is necessary to use matlab function block for Code Generation.
Réponses (1)
stozaki
le 13 Fév 2020
* I attached model and Signal Object file.
There are two ways.
- Set the dimensions in the properties of the output signal.
- Use Simulink Signal Object
Regards,
stozaki
0 commentaires
Voir également
Catégories
En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!