| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
MATLAB command line
getparam(target_object, parameter_index)
target_object | Name of a target object. The default name is tg. |
parameter_index | Index number of the parameter. |
getparam returns the value of the parameter associated with parameter_index.
Get the value of parameter index 5.
getparam(tg, 5) ans = 400
![]() | getlog | getparamid | ![]() |

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 |