photo

jpro89


Last seen: 3 years ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Error with s-function when simulink system is called within a matlab function
I face a problem regarding the simulation of a Simulink file. In my main file I am calling a function and within this function I...

5 years ago | 1 answer | 0

1

answer

Question


Read matrices in s-function only once during startup
I am trying to read some matrices in an s-function, which are originally loaded in the workspace. I would like to do this only o...

6 years ago | 0 answers | 0

0

answers

Question


Import constant array in s-function - Avoid repetitive import of array in each step
In a level-2 c s-function, at each sampling time I would like to access part of a rather large but constant matrix. To my unders...

7 years ago | 0 answers | 0

0

answers

Question


User-defined sample time in s-function
I am trying to set the sample time using the value of an input to the s-function. My code looks as follows: static void mdl...

7 years ago | 1 answer | 0

1

answer