How to solve this issue about label of interrunable variable during code generation?
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello.
I had one issue about label of interrunable variable during code generation.
This variable is the output of the 1ms task runnable and the input of the 10ms task runnable.
(Since the image cannot be inserted, the contents of the Diagnostic viewer are written.)
[Diagnostic Viewer]
Top model targets built: Model Action Rebuild Reason ===================================================================
AppCVT Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 1.064s
The call to autosar_make_rtw_hook, during the entry hook generated the following error: The signal leaving 'Output Port 2' of block 'AppCVT/AppCVT_1ms_RE_sys' must have a label since it represents an interrunnable variable. The build process will terminate as a result.
Caused by: The signal leaving 'Output Port 2' of block 'AppCVT/AppCVT_1ms_RE_sys' must have a label since it represents an interrunnable variable.
Any help on this matter would be greatly appreciated. Thank you.
5 comentarios
Phani Teja
el 25 de En. de 2024
Editada: Phani Teja
el 25 de En. de 2024
Hello Mr. WJKIM
I have come across similar issue in Matlab 2018a version, Autosar code generation
Is the issue got fixed in new skelton model with goto block connecting between runnables ?
Could you please explain how did you add the goto block with arbitary setting, label for fixing this issue.
Respuestas (1)
Hao
el 2 de Jul. de 2024
Hello Mr. WJKIM and Mr. Teja,
I met the same issue as what you talk about. I thought i found what the case is.
''must have a label" this sentence means the line which connects 2 block with runnables, should have its own label.
Further explanation, "its own label" means the the label under the line is not inherited. You should manually create a new label for it.
As following picture shows, the labels with "<>" (in red box) are inherited and the labels without "<>" are new added.
I hope my answer can help you! Have a nice day!
0 comentarios
Ver también
Categorías
Más información sobre DSP System Toolbox Support for ARM Cortex-A Processors en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!