How to exclude Simulink blocks from code generation?

15 visualizaciones (últimos 30 días)
Omkar Bhanap
Omkar Bhanap el 30 de Sept. de 2018
Comentada: Omkar Bhanap el 1 de Oct. de 2018
Basically, my project is: to acquire data from a USB webcam and perform some color thresholding and object tracking. The output obtained from these blocks is then given to Arduino for hardware implementation. Now if I directly build the model, it generates code for the whole model and then deploys to Arduino board which is basically consuming more memory and making my model to run at a slower speed.
How can exclude these blocks(computer vision and image processing toolbox) from code generation?

Respuestas (1)

TAB
TAB el 1 de Oct. de 2018

If you want to exclude some blocks from Simulion and Code Generation, then you can comment them out.

As far I know, there is no way to exclude some block only from code generation.

  1 comentario
Omkar Bhanap
Omkar Bhanap el 1 de Oct. de 2018
I don't want to exclude these blocks from Simulation. Just want to simulate the model without generating any code for these blocks.

Iniciar sesión para comentar.

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos


Versión

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by