TLC Code Generation "NumTotalBlocks" removed in R2020a?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
michael bronnmann
el 13 de Mzo. de 2023
Respondida: Atharva
el 13 de Sept. de 2023
Hi all,
as of MATLAB R2020a it seems that *.rtw-entry "NumTotalBlocks" is totally removed?
Some parts of the rtw-file content of e.g. R2019b looks like this
System {
Type "root"
Name "<Root>"
...
NumTotalBlocks X
...
}
In R2020a there is no "NumTotalBlocks" any more. Instead the entry "NumBlocks" exists over both releases. But whats the difference? Is it secure to simply replace NumTotalBlocks by NumBlocks in my own tlc files?
The ReleaseNotes page of MathWorks.com doesnt give any hint about that.
Thanks and br
0 comentarios
Respuesta aceptada
Atharva
el 13 de Sept. de 2023
Hey Michael,
I understand that you are facing an issue regarding whether "NumTotalBlocks" was removed in R2020a.
Yes, it was removed totally. Please replace the NumTotalBlocks entry with NumBlocks since as you found out.
Previously NumTotalBlocks contained also virtual ports which should not be handled by TLC processing and since TLC code should only process blocks up to NumBlocks the development team decided to remove this.
There are no further differences.
I hope this helps!
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!