Simulink: Problem connecting normal simulink with real-time code (embedded matlab)
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
I have a simulink model (Model A) that uses a level-2 S-function with some image processing, which keeps track of several colored regions (real time). The output is a [16,1] vector that I want to use in another model (Model B) which processes this data. The problem is that the other model uses embedded matlab and I cant connect the two models.
Model B has to be compiled and started from the console, but if I start Model A from the console the color extraction doesnt work (I guess this is because I use functions like bwconncomp and regionprops).
Then I tried to connect them via the UDP or TCP/IP block (from the instrument control toolbox), but that also didnt help (the blocks itself works, but not in connecting the two models). Does anyone have experience with the UDP blocks and can tell me if its possible to connect a real-time model with a model that I start directly from simulink?
댓글 수: 1
TAB
2012년 9월 14일
Have you tried referencing both models in the third model connecting the output of 1st to the input of 2nd ?
답변 (0개)
이 질문은 마감되었습니다.
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!