Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop   

Introduction

This section discusses how the Real-Time Workshop product generates parameter storage declarations, and how you can generate the storage declarations you need to interface block parameters to your code.

If you are using S-functions in your model and intend to tune their run-time parameters in the generated code, see Tuning Run-Time Parameters in the Simulink documentation. Note that

For guidance on implementing a parameter tuning interface using a C API, see Interacting with Target Application Signals and Parameters Using the C API.

Simulink external mode offers a way to monitor signals and modify parameter values while generated model code executes. However, external mode might not be appropriate for your application in some cases. The S-function target does not support external mode, for example. For other targets, you might want your existing code to access parameters and signals of a model directly, rather than using the external mode communications mechanism. For information on external mode, see Communicating With Code Executing on a Target System Using Simulink External Mode.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS