Filter löschen
Filter löschen

TLC Code Generation "NumTotalBlocks" removed in R2020a?

1 Ansicht (letzte 30 Tage)
michael bronnmann
michael bronnmann am 13 Mär. 2023
Beantwortet: Atharva am 13 Sep. 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

Akzeptierte Antwort

Atharva
Atharva am 13 Sep. 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!

Weitere Antworten (0)

Kategorien

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

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by