Using Matlab coder for protecting blocks with power ports
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
Hi, I am new to Matlab-simulink. I am trying to protect a block that I am using in my project. I tried using Matlab coder. But, when I try to reference the model after protecting it, the referencing block does not recognize anything other than the signal ports. It would be really helpful if anyone can share their experience with matlab coder.
Thanks, Kumar
댓글 수: 3
Walter Roberson
2011년 12월 21일
Using Simulink Coder would seem to make more sense than MATLAB Coder ?
What are you hoping that the block would be able to recognize? Communication with blocks is done through signals in Simulink.
Walter Roberson
2011년 12월 21일
"power ports" ? Are you using SimPower ?
Kumar
2011년 12월 22일
답변 (1개)
Fangjun Jiang
2011년 12월 21일
0 개 추천
댓글 수: 3
Kumar
2011년 12월 22일
Kaustubha Govind
2011년 12월 22일
By PMC_ports, do you mean ports with physical signals? If yes, model reference blocks do not support such signals at their boundaries. Perhaps you could consider converting them to a regular Simulink signal before outputting them from your block.
Fangjun Jiang
2011년 12월 22일
Sorry I don't have SimPower. My experience on model reference is with Simulink only.
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!