Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
dmt
Commits
5560df2c
Commit
5560df2c
authored
Sep 04, 2019
by
Thanassis Tsiodras
Browse files
10 years have passed since RTW7.4 - assume versions later than 7 from now on by default.
parent
e690eb08
Changes
1
Hide whitespace changes
Inline
Side-by-side
dmt/B_mappers/simulink_B_mapper.py
View file @
5560df2c
...
...
@@ -450,7 +450,7 @@ class SimulinkGlueGenerator(SynchronousToolGlueGenerator):
self
.
C_SourceFile
.
write
(
" static int initialized = 0;
\n
"
)
self
.
C_SourceFile
.
write
(
" if (!initialized) {
\n
"
)
self
.
C_SourceFile
.
write
(
" initialized = 1;
\n
"
)
self
.
C_SourceFile
.
write
(
" %s_initialize(
1
);
\n
"
%
self
.
g_FVname
)
self
.
C_SourceFile
.
write
(
" %s_initialize();
\n
"
%
self
.
g_FVname
)
self
.
C_SourceFile
.
write
(
" }
\n
"
)
def
ExecuteBlock
(
self
,
unused_modelingLanguage
:
str
,
unused_asnFile
:
str
,
unused_sp
:
ApLevelContainer
,
unused_subProgramImplementation
:
str
,
unused_maybeFVname
:
str
)
->
None
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment