How read in simulink model value of E2E Transformer error?
Hello,
How read in simulink model value of transformerError_Input where E2E Transformer write value of error?
In help Configure AUTOSAR Sender-Receiver Communication – MATLAB & Simulink (mathworks.com) it is describe that:
The generated C code contains RTE read and write API calls that pass the transformer error argument.
void Runnable(void)
{
Rte_TransformerError transformerError_Input;
float64 tmpRead;
…
/* Inport: ‘<Root>/Input’ */
Rte_Read_RPort_InputDE(&tmpRead, &transformerError_Input);
…
/* Outport: ‘<Root>/Output’… */
(void) Rte_Write_PPort_OutputDE(data, &transformerError_Input);
…
}
I see in generated C code that it is created local variable transformerError_Input but i don’t know where in simulink model there is an equivalent of transformerError_Input.
For example:
If i need to rewrite the value from local variable transformerError_Input, how can i do it in simulnik model.Hello,
How read in simulink model value of transformerError_Input where E2E Transformer write value of error?
In help Configure AUTOSAR Sender-Receiver Communication – MATLAB & Simulink (mathworks.com) it is describe that:
The generated C code contains RTE read and write API calls that pass the transformer error argument.
void Runnable(void)
{
Rte_TransformerError transformerError_Input;
float64 tmpRead;
…
/* Inport: ‘<Root>/Input’ */
Rte_Read_RPort_InputDE(&tmpRead, &transformerError_Input);
…
/* Outport: ‘<Root>/Output’… */
(void) Rte_Write_PPort_OutputDE(data, &transformerError_Input);
…
}
I see in generated C code that it is created local variable transformerError_Input but i don’t know where in simulink model there is an equivalent of transformerError_Input.
For example:
If i need to rewrite the value from local variable transformerError_Input, how can i do it in simulnik model. Hello,
How read in simulink model value of transformerError_Input where E2E Transformer write value of error?
In help Configure AUTOSAR Sender-Receiver Communication – MATLAB & Simulink (mathworks.com) it is describe that:
The generated C code contains RTE read and write API calls that pass the transformer error argument.
void Runnable(void)
{
Rte_TransformerError transformerError_Input;
float64 tmpRead;
…
/* Inport: ‘<Root>/Input’ */
Rte_Read_RPort_InputDE(&tmpRead, &transformerError_Input);
…
/* Outport: ‘<Root>/Output’… */
(void) Rte_Write_PPort_OutputDE(data, &transformerError_Input);
…
}
I see in generated C code that it is created local variable transformerError_Input but i don’t know where in simulink model there is an equivalent of transformerError_Input.
For example:
If i need to rewrite the value from local variable transformerError_Input, how can i do it in simulnik model. e2e transformer MATLAB Answers — New Questions