Filter löschen
Filter löschen

ssWriteRTWParamSettings not operating as expected

1 Ansicht (letzte 30 Tage)
David
David am 17 Sep. 2013
With the following code:
char_T textArray[3][6] = {"ABC","XYZ","456"};
if ( !ssWriteRTWParamSettings(S, 2,
SSWRITE_VALUE_QSTR, "TestExample", "EasyStringToFind",
SSWRITE_VALUE_VECT_STR, "Values", textArray, 3
) )
{
return; //(error reporting will be handled by SL)
}
then I get this in the rtw file:
SFcnParamSettings {
TestExample "EasyStringToFind"
Values ABC
}
However I expect and want to get:
SFcnParamSettings {
TestExample "EasyStringToFind"
Values ["ABC" "XYZ" "456"]
}
So is this an incorrect use, a misunderstanding on my part or a bug?

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by