Discussion:
deactivate warning in simulink
(too old to reply)
Sven Kaemer
2004-06-25 10:24:58 UTC
Permalink
Hello, i´ll hope anyone may help me.
I´ll get many warnings in Matlab command window, about dublicated
names in a Simulink system. System run perfectly but i can´t change
the names to stop this warning messages.
Which command may blanking this warning.

here is one of them:
Warning: Signals 1, 2 entering Bus Creator (or Mux) block
'formen3org1STR1melt_ladle3test/Double Source Output/Mux' have
duplicated names 'outflow (kg/s)'. These are being made unique by
appending "(signal #)" to the signals within the resulting bus.
Please update the labels of the signals entering this block such that
they are all unique.

I use Matlab R.12.1, Simulink vers.4.1

thanks for your help
Bouk Teef
2004-06-25 15:52:56 UTC
Permalink
Hi, there is a command called

warnings off

Hope this helps

Bouk
Hello, iŽll hope anyone may help me.
IŽll get many warnings in Matlab command window, about dublicated
names in a Simulink system. System run perfectly but i canŽt change
the names to stop this warning messages.
Which command may blanking this warning.
Warning: Signals 1, 2 entering Bus Creator (or Mux) block
'formen3org1STR1melt_ladle3test/Double Source Output/Mux' have
duplicated names 'outflow (kg/s)'. These are being made unique by
appending "(signal #)" to the signals within the resulting bus.
Please update the labels of the signals entering this block such that
they are all unique.
I use Matlab R.12.1, Simulink vers.4.1
thanks for your help
Bouk Teef
2004-06-25 15:56:26 UTC
Permalink
Quick correction.
The command is:
warning off


Bouk
Post by Bouk Teef
Hi, there is a command called
warnings off
Hope this helps
Bouk
Hello, iŽll hope anyone may help me.
IŽll get many warnings in Matlab command window, about dublicated
names in a Simulink system. System run perfectly but i canŽt change
the names to stop this warning messages.
Which command may blanking this warning.
Warning: Signals 1, 2 entering Bus Creator (or Mux) block
'formen3org1STR1melt_ladle3test/Double Source Output/Mux' have
duplicated names 'outflow (kg/s)'. These are being made unique by
appending "(signal #)" to the signals within the resulting bus.
Please update the labels of the signals entering this block such that
they are all unique.
I use Matlab R.12.1, Simulink vers.4.1
thanks for your help
Sven Kraemer
2004-06-28 06:56:31 UTC
Permalink
Thanks it helps.
Post by Bouk Teef
Quick correction.
warning off
Giri Kolanupaka
2004-06-29 01:27:13 UTC
Permalink
Hello Bouk/Sven,

warning off may turn off the warnings. But, I think it is better to
have the warning on and have model corrected that it will not give
the warning. I remember I had a very similar warning in one of my
models and the model was not outputting what it supposed to. There
was something wrong in the signal naming. This happens especially
when we use mux-demux or bus creator-selector combinations. So, I
think it is always better to have warning turned on and try to get
rid of it. Thanks.

Giri
Post by Bouk Teef
Quick correction.
warning off
Bouk
Post by Bouk Teef
Hi, there is a command called
warnings off
Hope this helps
Bouk
Post by Sven Kaemer
Hello, i´ll hope anyone may help me.
I´ll get many warnings in Matlab command window, about
dublicated
Post by Bouk Teef
Post by Sven Kaemer
names in a Simulink system. System run perfectly but i
can´t
Post by Bouk Teef
change
Post by Bouk Teef
Post by Sven Kaemer
the names to stop this warning messages.
Which command may blanking this warning.
Warning: Signals 1, 2 entering Bus Creator (or Mux) block
'formen3org1STR1melt_ladle3test/Double Source Output/Mux'
have
Post by Bouk Teef
Post by Bouk Teef
Post by Sven Kaemer
duplicated names 'outflow (kg/s)'. These are being made
unique
Post by Bouk Teef
by
Post by Bouk Teef
Post by Sven Kaemer
appending "(signal #)" to the signals within the resulting
bus.
Post by Bouk Teef
Post by Bouk Teef
Post by Sven Kaemer
Please update the labels of the signals entering this
block
Post by Bouk Teef
such that
Post by Bouk Teef
Post by Sven Kaemer
they are all unique.
I use Matlab R.12.1, Simulink vers.4.1
thanks for your help
Sven Kraemer
2004-06-29 07:26:09 UTC
Permalink
Hello Giri, you may be right if you make new systems. But i´ve tested
systems, where user only change the mask of every subsystem.
There i don´t need any warnings, and this special signal warnig would
be confusing the user.

Thanks for your opinion.
Post by Giri Kolanupaka
Hello Bouk/Sven,
warning off may turn off the warnings. But, I think it is better to
have the warning on and have model corrected that it will not give
the warning. I remember I had a very similar warning in one of my
models and the model was not outputting what it supposed to. There
was something wrong in the signal naming. This happens especially
when we use mux-demux or bus creator-selector combinations. So, I
think it is always better to have warning turned on and try to get
rid of it. Thanks.
Giri
Post by Bouk Teef
Quick correction.
warning off
Bouk
Post by Bouk Teef
Hi, there is a command called
warnings off
Hope this helps
Bouk
Post by Sven Kaemer
Hello, i´ll hope anyone may help me.
I´ll get many warnings in Matlab command window, about
dublicated
Post by Bouk Teef
Post by Sven Kaemer
names in a Simulink system. System run perfectly but i
can´t
Post by Bouk Teef
change
Post by Bouk Teef
Post by Sven Kaemer
the names to stop this warning messages.
Which command may blanking this warning.
Warning: Signals 1, 2 entering Bus Creator (or Mux)
block
Post by Bouk Teef
Post by Bouk Teef
Post by Sven Kaemer
'formen3org1STR1melt_ladle3test/Double Source
Output/Mux'
have
Post by Bouk Teef
Post by Bouk Teef
Post by Sven Kaemer
duplicated names 'outflow (kg/s)'. These are being
made
Post by Giri Kolanupaka
unique
Post by Bouk Teef
by
Post by Bouk Teef
Post by Sven Kaemer
appending "(signal #)" to the signals within the
resulting
bus.
Post by Bouk Teef
Post by Bouk Teef
Post by Sven Kaemer
Please update the labels of the signals entering this
block
Post by Bouk Teef
such that
Post by Bouk Teef
Post by Sven Kaemer
they are all unique.
I use Matlab R.12.1, Simulink vers.4.1
thanks for your help
Loading...