coder.updateBuildInfo('addSourceFiles','mysum.c');%Include the source file containing C function definitioncoder.cinclude('mysum.h'); y = 0;ifcoder.target('MATLAB')% This line ensures that the function works in MATLABy = x1 + x2;elsey = coder.ceval('mysum', x1, x2);endend G...
void ssUpdateRunTimeParamInfo(SimStruct *S, int_T param, ssParamRec *info) Arguments S SimStruct that represents anS-Functionblock. param Index of a run-time parameter. info Attributes of the run-time parameter. Description Use this macro in the S-function'smdlProcessParametersmethod to update...
collapse all in page Add-On Required:This feature requires theMATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platformsadd-on. Syntax updatePeripheralInfo(hwObj) Description updatePeripheralInfo(hwObj)scans for webcams that are connected the NVIDIA®hardware. Use this function when ...
In this example, the total number of positions is five, as is the length of each subsequence. br2 is a copy of br with updated read sequences. If you need to update the br object itself, set it as the output of the function. Get positions = [1:5]; subset = [1 2]; br2 =...
collapse all in page Add-On Required:This feature requires theMATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platformsadd-on. Syntax updatePeripheralInfo(hwObj) Description updatePeripheralInfo(hwObj)scans for webcams that are connected the NVIDIA®hardware. Use this function when ...
collapse all in page Add-On Required:This feature requires theMATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platformsadd-on. Syntax updatePeripheralInfo(hwObj) Description updatePeripheralInfo(hwObj)scans for webcams that are connected the NVIDIA®hardware. Use this function when ...
This MATLAB function returns a new object that is a copy of object with the partial sequences of a subset of elements set to subsequences.