Parameter Tuning with .NET

Tunable block and global parameter updating, parameter sweeps, extreme value tests

Query and modify tunable block and global parameters from your .NET program in your real-time application as it is running. Perform parameter sweeps and extreme value tests. See Tunable Block Parameters and Tunable Global Parameters.

.NET API

expand all

xPCParameter ClassSingle run-time tunable parameter
xPCParameters ClassAccess run-time parameters
xPCParameter.GetParamGet parameter values from target computer
xPCParameter.GetParamAsyncAsynchronous request to get parameter values from target computer
xPCParameters.LoadParameterSetLoad parameter values for real-time application
xPCParameters.RefreshRefresh state of object
xPCParameters.SaveParameterSetSave parameter values of real-time application
xPCParameter.SetParamChange value of parameter on target computer
xPCParameter.SetParamAsyncAsynchronous request to change parameter value on target computer
xPCParameter.GetParamCompletedEvent when xPCParameter.GetParamAsync is complete
xPCParameter.SetParamCompletedEvent when xPCParameter.SetParamAsync is complete
CancelPropertyNotificationEventArgs ClassCancelPropertyNotification event data
GetParamCompletedEventArgs ClassxPCParameter.GetParamCompleted event data
PropertyNotificationEventArgs ClassPropertyNotification event data
SetParamCompletedEventArgs ClassxPCParameter.SetParamCompleted event data
xPCExceptionConstruct new instance of xPCException class

Topics

Background

Simulink Real-Time .NET API Client Application Examples

Examine applications that use the Simulink® Real-Time™ API for Microsoft® .NET Framework.

Parameter Tuning

Tunable Block Parameters and Tunable Global Parameters

Changing tunable block parameters and tunable global parameters during real-time execution.

.NET Interface

Using the Simulink Real-Time API for Microsoft .NET Framework

Creating user interfaces with the Simulink Real-Time API for .NET Framework.

Simulink Real-Time API for Microsoft .NET Framework

Accessing the target computer and real-time application with the Simulink Real-Time API for Microsoft .NET Framework.

Simulink Real-Time .NET API Application Creation

Configure the development environment for using the Simulink Real-Time API for Microsoft .NET Framework.

Simulink Real-Time .NET API Application Distribution

Complying with the requirements for distributing client applications.

Limitations

Troubleshoot Parameters Not Accessible by Name

Investigate issues that prevent you from observing or tuning some parameters in the real-time application.

Troubleshoot Instance-Specific Parameters Not Saved

Investigate issues that prevent saving instance-specific parameters and parameters with custom storage classes to a MAT file.

Troubleshoot Instrument Label Not Present

Investigate issues that produce error 'The given key was not present in the dictionary' for instrument labels.

Internationalization Issues

Learn about Simulink Real-Time support for internationalization.