Simulink Code Generation: blocks with masks and tunability
显示 更早的评论
Is is possible to generate tunable code from a masked block with parameters in the mask?
For example:
In the Matlab Workspace:
>> K100 = Simulink.Parameter(1.0);
A masked Simulink Block has a parameter with "Name" 'P'. In the mask I introduce K100, so P has a value of K100.
Now, P is accessible under that mask, where it takes the same value of K100.
Is there a way to generate code from that block and ensure that the C code retains tunability (if K100 changes)?
Thanks
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 BeagleBone Black 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!