Info
此问题已关闭。 请重新打开它进行编辑或回答。
Using Matlab coder for protecting blocks with power ports
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Fangjun Jiang
2011-12-21
3 个评论
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!