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?

 채택된 답변

Andreas Goser
Andreas Goser 2013년 2월 21일

1 개 추천

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

shoaib badshah
shoaib badshah 2013년 2월 24일
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 2013년 2월 24일
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 2013년 2월 26일
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?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Interactive Model Editing에 대해 자세히 알아보기

제품

태그

Community Treasure Hunt

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

Start Hunting!

Translated by