Solved

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

presque 2 ans 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 ...

presque 2 ans 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...

presque 2 ans 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:...

presque 2 ans 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...

presque 2 ans ago | 0 answers | 0

### 0

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 ...

presque 2 ans ago | 0 answers | 0

### 0

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...

environ 3 ans ago | 1 answer | 0

### 1

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

environ 3 ans 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...

environ 3 ans ago | 1 answer | 0

### 1

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...

environ 3 ans ago | 2 answers | 0

### 2

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...

environ 3 ans ago | 1 answer | 0

### 1

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...

environ 3 ans 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...

environ 3 ans ago | 1 answer | 0