Answered
Hiding simulink model content with s-function
The .mex (or .mexw32) is a compiled file. You don't need to compile it into dll file. If you give to your third part your model...

10 years ago | 0

Answered
Using string parameters in S-Functions generated by the legacy code tool
Hi, I don't know if I'm going to answer well to your question. What I understand is that you want to keep in your s-function a ...

10 years ago | 0

Answered
How can I compile (C) variables used several time in Simulink as global?
Do you try to use "Goto" and "From" simulink blocks? You declare your variables in constant blocks once and you connect them ...

10 years ago | 0

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

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

12 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 = []...

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

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

12 years ago | 3 answers | 0

3

answers