Info
此问题已关闭。 请重新打开它进行编辑或回答。
Can a Protected Simulink Block ever be used to generate rweal-time code in a larger parent model?
1 次查看(过去 30 天)
显示 更早的评论
Is it possible to re-use a Protected Simulink Block in a larger parent model in R2012b Simulink, and from this to generate generic real-time (s-FUNC) code from it?
Background:
We are having some difficulty re-using a supplier model delivered as a "Protected Simulink Block". This model must be used in a larger model from which generic real-time code (grt.tlc) will be generated to allow re-compilation in another real-time environment. We are doing everything in MATLAB Version R2012b (32-bit) under Windows7 operating system.
I suspect the Protected Simulink block may have been creating in a later version of MATLAB, although to date it does work OK as-is in R2012b (which is a bit of a mystery) provided I don't attempt to generate an S-Function from it.
Our supplier insists the Protect Block has been set up to allow code generation (obfuscated code) but I immediately get a complaint from Simulink that my model contains "Model Blocks" which are only compatible with ert.tlc. Switching to ert.tlc then generates more errors/complaints about the use of Continuous Time (in ert.tlc code) so I am stuck.
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!