How can I make Embedded Coder Ignore Scope Blocks when Simulating and Generating Code?

I have got some inputs in my model that are passed via the environment controller i.e. the test inputs will be for simulation and top-level ports will be considered for embedded code generation. However, i need to check my simulation output on a scope. I was wondering if there is something simular to environment controller block to separate simulation and code generation outputs.
Any help will be appreciated!

1 个评论

I thought that Scope blocks are already ignored in codegen mode, and produce a no-op. Is that not what you're seeing?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by