Comments on: Sum Block: Round or Rectangular? https://blogs.mathworks.com/simulink/2013/05/10/sum-block-round-or-rectangular/?s_tid=feedtopost Guy Rouleau is an Application Engineer for MathWorks. He writes here about Simulink and other MathWorks tools used in Model-Based Design. Fri, 14 Jun 2019 07:31:25 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: Arun https://blogs.mathworks.com/simulink/2013/05/10/sum-block-round-or-rectangular/#comment-255263 Fri, 14 Jun 2019 07:31:25 +0000 https://blogs.mathworks.com/seth/?p=2209#comment-255263 in add block two different outputs 200,100,then i set unit 8,and if i enable saturate on integer overflow ,then what will be the output.

]]>
By: Leigh Boyd https://blogs.mathworks.com/simulink/2013/05/10/sum-block-round-or-rectangular/#comment-211779 Mon, 06 Nov 2017 11:11:58 +0000 https://blogs.mathworks.com/seth/?p=2209#comment-211779 I always use round summing blocks, not only because its more conventional for control systems but I prefer the different shape of the symbols to easily pick out what they do. I like to be able to add an offset to a value, for example by adding from above, or subtracting from below, where the primary signal still flows from left to right. In negative feedback loops, I loop back and subtract from below as expected in the field. We have many debates about it around the office, but my colleagues don’t have a control systems background… The biggest advantage is that you can easily see when you have “format -> show block names” turned off that its a summing block.

]]>
By: Issopui https://blogs.mathworks.com/simulink/2013/05/10/sum-block-round-or-rectangular/#comment-33467 Fri, 17 May 2013 13:52:40 +0000 https://blogs.mathworks.com/seth/?p=2209#comment-33467 Hello guys,

I’m very sorry for my comment which may not be related to the topic but it is related to simulink blockset.

I am working on a small project using computer vision sytem toolbox. I have 3 images which I need to convert to grayscale and then subtract image2 from image one do the binary thresholding and finanlly the AND logic gate to find the final position.

My question is “Which blockset should I use to subtract two grayscale images?” I have tried the subtract blockset from math operation but my output image look exactly like the one I got after thresholding.

Please guys help me being trying for weeks now. What is the proper blockset to be used for two grayscale subtraction?

I’m sorry for my long message. Wish u guys will me

Thanks in Advance

Issopui

]]>
By: Paul https://blogs.mathworks.com/simulink/2013/05/10/sum-block-round-or-rectangular/#comment-32978 Wed, 15 May 2013 09:45:59 +0000 https://blogs.mathworks.com/seth/?p=2209#comment-32978 @Guy
These duplicate blocks should be removed in a future release IMHO.
It’s just not good practice to have different blocks doing the same thing when the variations could be achieved with mask settings.
If you are concerned with people still looking for the old blocks, there are many solutions to this. For example, I often use the search field to say find an “add block”. You could update the search terms so that “sum” also gives the “add” block result.
Other more complex solutions exist, such as retaining the original blocks, but having them immediately convert to the “add” block on placement in the model…
Ultimately, I there should not be multiple blocks for the same function. And any time you are using historical convention to justify something concerns me! It means you are being held back in progress…

]]>
By: Guy Rouleau https://blogs.mathworks.com/simulink/2013/05/10/sum-block-round-or-rectangular/#comment-32529 Mon, 13 May 2013 15:42:29 +0000 https://blogs.mathworks.com/seth/?p=2209#comment-32529 @Paul, Having multiple instances of the same block with different settings is something relatively common in the Simulink Library Browser. For many users, it seems to make it easier to find what they are looking for.

For example:

– The Math section of the library contains 4 instances of the Sum block: Sum, Add, Subtract and Sum of Elements. It also contains 3 instances of the Product block: Product, Divide and Product of Elements

– Resettable Delay and Variable Integer Delay are both instances of the generic Delay block.

– Lookup Tables blocks: 1-D, 2-D and N-D are the same block with different settings.

– Vector Concatenate and Matrix Concatenate

]]>
By: Ryan https://blogs.mathworks.com/simulink/2013/05/10/sum-block-round-or-rectangular/#comment-32504 Mon, 13 May 2013 14:09:50 +0000 https://blogs.mathworks.com/seth/?p=2209#comment-32504 Great post. Whenever I receive a model with a square sum for a control system I have to change them over to circular. Nothing technically wrong, but I like the relationship between circular summing junctions and control system diagrams.

]]>
By: Paul https://blogs.mathworks.com/simulink/2013/05/10/sum-block-round-or-rectangular/#comment-32393 Mon, 13 May 2013 05:23:35 +0000 https://blogs.mathworks.com/seth/?p=2209#comment-32393 Yes it’s pretty silly to still be including two separate blocks in the library when there is no functional difference between them. It can even be confusing to new users. Back in the day, I used to think the round block should be used for continuous applications and the square block for discrete. Really, they should be combines, and the visual preference relegated to being a simple mask parameter…

]]>