Solved


Add two numbers
Given a and b, return the sum a+b in c.

5 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

Question


How can I get "shown" parameter or similar parameter for Simulink blocks?
Hello everyone, There is a parameter for systems; "shown". when you type ; get_param(gcs, 'shown') %or get_param('vdp', 'show...

5 years ago | 0 answers | 0

0

answers

Question


How to close block dialog box before it opens or hide it conditionally on Simulink?
Hello, I am trying to create a custom masked block, but when some conditions met -defined in callback script- I don't want the ...

5 years ago | 0 answers | 0

0

answers

Question


Is there a function to make Simulink window fullscreen in Matlab if it is not?
Hello everyone, I am opening the model with script and I want it to be fullscreen, also need to autoscale is there any functi...

6 years ago | 1 answer | 0

1

answer

Answered
How to use handles/pathnames with "delete_line" function?
Alternative Salvation for this problem; using LineHandle, i.e.; MuxLines = get_param(allMuxes{1}, 'LineHandles'); % ...

6 years ago | 0

Question


How to use handles/pathnames with "delete_line" function?
I have block handles and pathnames but delete_line function always gives the error of : "Invalid Simulink object handle". I mean...

6 years ago | 1 answer | 0

1

answer

Question


Is there a function for finding the specific column number in a cell array?
Helle everyone, I think question is clear but, this is Matlab at all, I have a nx1 cell array and I want to know which column...

6 years ago | 2 answers | 0

2

answers

Question


How to use dot notation (substructures and fields) with a parameter which has already "dot" in it??
Hello everyone I am new at matlab, so I think this is a very basic thing but I couldn't solve this. I have 1x1 cells that con...

6 years ago | 1 answer | 0

1

answer

Answered
Why can't I see parameters when I use get_param?
Okay I found it, but it does not make any sense for me right now. I used get_param('sys/BlockPath', 'DialogParameters') : whi...

6 years ago | 0

| accepted

Question


Why can't I see parameters when I use get_param?
Hello all! I need to get values from simulink blocks. In order to do that, I need to use _get_param_ i.e get_param( _sys_, 'P...

6 years ago | 1 answer | 0

1

answer