In the "Simulink Block Data Type support" help documentation it is written that "To Workspace" blocks are ignored during code generation.
When I create a simple model using a "To Workspace" and build it with "grt" or "ert" target, I always obtained a mat-file when I run the exe.file.
When I replace the "To Workspace" by an "output port" I don't obtain "the MAT-file when running the exe file.
I would like to know if "To Workspace" blocks are ignored during code generation with Real Time Workshop 7.0 (R2007b).
Best Answer