how can I use the Divide model to generate coder as z = x/y

1 comentario

Walter Roberson
Walter Roberson el 29 de Jun. de 2017
? It should do it automatically if you have one of those blocks.
You are asking how to have a MATLAB call somehow take advantage of the code generation available from a Divide block even when you are not using a Simulink model?
Are x and y scalars are are they matrices? Are you wanting to do element-by-element division, or linear algebra with the MATLAB / (mrdivide) operator?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 代码生成 en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 29 de Jun. de 2017

Comentada:

el 29 de Jun. de 2017

Community Treasure Hunt

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

Start Hunting!