Question


Accessing user variables from handles inside a timer function for a GUI
I created a GUI which has a timer function inside of it. I've initialized my GUI with some variables inside a struct called 'Var...

7 years ago | 0 answers | 0

0

answers

Question


Remotely view xPC Target screen?
Like the xpctargetspy command, is there a way to remotely view the xPC Target screen on another computer running Matlab or throu...

7 years ago | 1 answer | 0

1

answer

Question


Simulink Matrix Multiply vs DSP System Toolbox Matrix Multiply?
Is there a difference between the standard Simulink library Matrix Multiplication (Product) vs the DSP System Toolbox Matrix Mul...

7 years ago | 0 answers | 0

0

answers

Question


xPC Target Optimizations on compile speed really slow
When I use the xPC Target option to set Compiler Optimizations to On, the compilation line where it compiles the .c file takes a...

7 years ago | 0 answers | 0

0

answers

Answered
Systematically pause Simulink model and continue from Matlab command line
Thanks for all your help. The method I used is by having a model run continuously and having triggered subsystems. Matlab comman...

7 years ago | 0

Question


Systematically pause Simulink model and continue from Matlab command line
Is it possible to have Matlab start a Simulink model (fixed step, discrete) and after each sample step, the model pauses, allows...

7 years ago | 4 answers | 0

4

answers

Question


Not getting the same answer between Matlab and Simulink
I have a Matlab function, A = M \ (x * V), where M is a matrix, x is a scalar and V is a vector I also implemented this in S...

7 years ago | 1 answer | 0

1

answer

Question


Unexpected behavior with From Workspace block in Simulink
The From Workspace block for Simulink is supposed to output data based on the time column in the variable. I have a model at a s...

7 years ago | 1 answer | 0

1

answer

Question


parfor much slower than for loop when using struct variables
I developed some finite element modeling code which is very CPU intensive with solving many equations and I am trying to improve...

8 years ago | 0 answers | 0

0

answers

Question


Resolution differences between Matlab and Simulink
I have a Matlab script and a Simulink model that perform the same algorithm. When I compare my results using the isequal functi...

8 years ago | 1 answer | 0

1

answer

Question


Interpolate from slower sample rate to faster sample rate in Simulink?
I have a source that runs at 0.1 seconds and my controller needs to run at 0.01 seconds. I want to interpolate the source into ...

8 years ago | 1 answer | 0

1

answer

Answered
1.#IO error on xPC
That's the problem. There is no error in the console section. I have no idea why the model didn't execute. Most likely the fi...

9 years ago | 0

Question


1.#IO error on xPC
What does an "1.#IO" error on the xPC mean when I try to execute a model?

9 years ago | 2 answers | 0

2

answers