how to read data from out port block.?

how to read data from out port block.? and can we save it in a file...? and how to insert outport block to each conditional operator and get the result in a file..? but this should be trough programming.. can any body help?

 Respuesta aceptada

Andreas Goser
Andreas Goser el 21 de Feb. de 2013

1 voto

The signals of the outport blocks are written into the MATLAB workspace in case the setting in the "Data Import/Export" tab of the "Configuration Parameters" GUI is accordingly. See the "Output" checkbox.
You can post process those signals in MATLAB including saving them in a file with SAVE.
You can't insert outports into operators, but certainly you could add an outport after each block you are interested in.

3 comentarios

shoaib badshah
shoaib badshah el 24 de Feb. de 2013
sir i want to insert outport block to every conditional block(i.e OR,AND,NOR) in a model. That should be by Matlab command prompt. So that i can see the signal after leaving each conditional block.
Andreas Goser
Andreas Goser el 24 de Feb. de 2013
You can surely do that. ANd if this is a larger model you may want to do this programatically. Although I doubt it is practible. But anyway, see the ADD_BLOCK, GET_PARAM etc. commands
shoaib badshah
shoaib badshah el 26 de Feb. de 2013
when ever i apply loop on simulink models then i give me this error ''add' is not recognized as an internal or external command, operable program or batch file.' how i can apply loop on simulink models?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by