如何配置编码器以生成恒定指针到常数变量?
我的目的是配置Simulink编码器/嵌入式编码器以生成全局参数的结果:
extern const real32_T* const globalParameter;
使用自定义存储类设计器工具( cscdesigner )我设法部分实现了目标,目前我会生成以下结果:
extern const real32_T* globalParameter;
我如何配置我如何配置编码器生成丢失的部分IE,即常数变量:
const globalParameter
感谢您的支持!
最好的问候,
路易斯
My objective is to configure the Simulink Coder/Embedded Coder to generate for global parameters the following result:
extern const real32_T* const globalParameter;
Using the Custom Storage Class Designer tool (cscdesigner) I managed to partially achieve my goal, currently I generate the following result:
extern const real32_T* globalParameter;
How can I can I configure the coder to generate the missing part i.e., the constant variable:
const globalParameter
Thanks for your support!
Best regards,
Luis
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您始终可以将TLC用于CSC,以进行进一步的自定义,以防普通选项为您提供所需的选项。从我的头顶上,我不知道使用“正常” CSC是否可以做什么。
You can always use TLC for your CSC, for further customizations in case the normal options do not provide you the options you need. From the top of my head I do not know if what you want is possible using "normal" CSC.