Solved


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

11 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

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

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

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

11 years ago

Answered
How detect the mouse PRESS of a pushbutton?
I find answer to my question using Java command which is recognized by matlab.

11 years ago | 0

| accepted

Answered
How to give control to GUI while GUI is executing simulink model in a for loop
Hy, I don't really understand what you want to do but you can strat, stop or pause your model excution with this command line...

11 years ago | 0

Answered
Title disappears sometimes somtimes not
Hy, I have not the problem when I run your code. I think it can be cause by a script execution... Have you test to use the ...

11 years ago | 1

| accepted

Answered
Algebraic loop error after removing goto/from blocks
When you remove your Goto From Block, have you also removed "Unit Delay" block? This can explain why now you have algebrical ...

11 years ago | 1

Answered
using 3 sine wave block in simulink
Hey, Multiport switch let you choose one of the inputs (with its first input). If you put a constant with the value 1 in the f...

11 years ago | 1

Answered
How can I read "Go To" tags in embedded matlab function in Simulink?
Hi, To read all the goto tags in your model, you can use this code: block = find_system(gcs,'BlockType','Goto'); Tag = []...

11 years ago | 0

Answered
Algebric loop in simulink
Hey, in your case you don't have an algebrical loop because your operations are in ''cascade'' (english translation of a french ...

11 years ago | 0

Question


How detect the mouse PRESS of a pushbutton?
Hi, I am currently working on a GUI and I need to detect the left mouse *press* (and release) of a pushbutton. Then I associa...

11 years ago | 3 answers | 0

3

answers