Exclusion of blocks that interact with the MATLAB engine during code generation

3 Ansichten (letzte 30 Tage)
I am trying to develop Simulink blocks that interact with the MATLAB engine during simulation, but are automatically excluded from the build process during code generation. A good example of such a block would be the Simulink built-in Display block (Simulink/Sinks/Display). Is there a recommended way to achieve this result? I have tried using the MATLAB Function (formerly the Embedded MATLAB) block with the functions to be excluded declared using coder.extrinsic, as well as the Interpreted MATLAB Function block, but have been unsuccessful so far. I always get an error message during the build process.
I am using MATLAB R2013a x64.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Feb. 2016

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by