Why does my custom TLC code not display the correct parameter values in Real-Time Workshop 6.1 (R14SP1)?
Show older comments
I am declaring a data class in the MATLAB workspace. One of the parameters is:
FirstOutputMatrix.Value = ...
[ 1 2 3 4 5 6; ...
11 12 13 14 15 16; ...
21 22 23 24 25 26; ...
31 32 33 34 35 36; ...
41 42 43 44 45 46; ...
51 52 53 54 55 56; ...
];
Using Real-Time Workshop 6.0 (R14), I created the following TLC code, which displayed object parameters.
%function ASAP2UserFcnWriteCharacteristic_Lookup2D(paramGroup) Output
%assign zParam = paramGroup.Member[2].Reference
%selectfile STDOUT
ObjectProperties(zParam) = %<FcnGetObjectProperties(zParam)>
%selectfile NULL_FILE
In R14, the "Value" parameter was displayed correctly. However, in Release 14, Service Pack 1 (R14SP1), the "Value" parameter is returned empty. If I redefine "Value" as a 3x3 matrix, it displays correctly in R14SP1.
Accepted Answer
More Answers (0)
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!