Can MATLAB Fcn block output a bus?
Mostrar comentarios más antiguos
I'm trying to use MATLAB Fcn block to output a bus. I can't use an Embedded MATLAB Fcn block for reasons that I would rather not get into now.
Does anyone knows how to do this?
1 comentario
Arnaud Miege
el 4 de Feb. de 2011
I don't know your reasons for not wanting to use an Embedded MATLAB function block, but that would be my recommendation. It can output a bus and because it uses code generation, is very efficient. A MATLAB Fcn block, on the other hand, calls the MATLAB parser during each integration step and therefore is very inefficient. I would avoid using it if at all possible.
Respuesta aceptada
Más respuestas (1)
Daniel
el 5 de Feb. de 2011
0 votos
Categorías
Más información sobre Naming Conventions en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!