Community Profile

photo

Sainath Varikuti

MathWorks

Last seen: 4 years ago Active since 2015

Application Support Engineer.

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Hello. I am trying to run the ALSTOM simulink file. (Benchmark Challenge 2). The folder has a .dll s function file(no .h file). How do I run the model? Thanks.
Hello, The S-Function should load 'dll' at run time. The example on the documentation page <http://www.mathworks.com/help/rtw...

8 years ago | 0

Answered
ECo "Undefined symbols for architecture x86_64"
Hi, When performing mex, you have to include the source file with elements and state methods. You may refer to the following ...

8 years ago | 0

Answered
How to capture N samples of a time varying signal into an array in Simulink - and repeat the process every M seconds.
Hi, You can use the <http://www.mathworks.com/help/dsp/ref/buffer.html Buffer block> in DSP system toolbox. Regards, Sa...

8 years ago | 0

Answered
Drive a rigid body using coordinate data (motion capture).
Hi, In SimMechanics it is possible to provide motion actuation to the joints. You can provide (x,y,z) position as inputs to t...

8 years ago | 0

| accepted

Answered
Import data into standalone Simulink model
Hello Sarris, The documentation example <http://www.mathworks.com/help/rtw/examples/using-mat-files-to-feed-data-to-inport-bl...

8 years ago | 0

| accepted

Answered
How do I find out the ODE function that the solver in Simulink uses?
Hi Lin, In Simulink a dynamic system is represented as states. Therefore, it is not possible to get the mathematical represen...

8 years ago | 0

Answered
Simulink: Bitstring extraction from 64bit output of measurement device
One approach is to get the 'uint8' representation of the string and extract the 6th and 7th Byte. Then using the 'Bitwise AND' ...

8 years ago | 0

| accepted

Answered
How can I calculate frequency response model (or transfer function) from the experimental PSD only? if the system is fed by a white noise.
Hello Muhammad, If Pyx is the output psd and Pxx is the white noise psd then the transfer function is the quotient of Pyx, th...

8 years ago | 0

Answered
NXT Support Packageがダウンロードできません
Hello Shouta, You can also download the support package from MATLAB Central at the following link. http://www.mathworks.co...

8 years ago | 0

| accepted

Answered
How to do system identification on a system involving internal delays?
Hello Joerg, For linear system identification you may use 'procest' function to estimate the process model for a given data. ...

8 years ago | 0

Answered
I got an 'Could not find initial value for global variable' error message when I build a MATLAB function with MATLAB coder
Hello JangHo Cho, While generating code for global data the workflow is 1) Declare the variables as global in your code. ...

8 years ago | 1

| accepted

Answered
checkEnvSetup not support ccs v6.10?
Hello Fan, As discussed in the documentation page <http://www.mathworks.com/help/ecoder/ref/checkenvsetup.html here> , curren...

9 years ago | 0

| accepted

Answered
Error using plot Invalid first data argument. How i can solve it!?
Check the values of the 'flow' variable in the MATLAB Workspace Window.

9 years ago | 0

Answered
Code generation from S-Function
A '.mex' of an S-Function is only good for Simulation. i.e for Model update, Simulating in Normal mode and Accelerator mode (by ...

9 years ago | 0

| accepted

Answered
How do I run the C code generated fomr a simulink model that contains S function
It is possible that dependent header files are missing during compilation. Use pack and go functionality to package all the nece...

9 years ago | 0

Answered
Simpsons method: quad function
You may also use 'disp' function to display the value of Q. >> disp(Q)

9 years ago | 0

Answered
"To Workspace" block is not outputting data to the limit I have set.
To capture all the data in the "To Workspace" block set the "Limit data points to last" parameter of the block to 'inf' as sugge...

9 years ago | 0

Answered
How do I extract a state space model from a Simulink subsystem?
'linmod' works for Root level models only and not for the subsystems. The input and output points for the linearization are thos...

9 years ago | 0

Answered
bwlabel with Matlab coder
When generating code for 'bwlabel', the parameter 'n' must be compile time constant as discussed <http://www.mathworks.com/help...

9 years ago | 0

Answered
How do I access model workspace variables in simulink/simevents?
You can view the model workspace variables in <http://www.mathworks.com/help/simulink/ug/the-model-explorer-overview.html Model ...

9 years ago | 0

Answered
how to find the sum of a function with 2 variables
I would break down the likelihood expression into smaller expressions in order to narrow down on the error. For example a =...

9 years ago | 0

| accepted

Answered
How to decide time step for simulink model contains submodels with different response time ?
You can use the rate transition block in the parent model to control the execution of each block as well as the execution of the...

9 years ago | 0

| accepted

Answered
Report Generator: how to add a line break in Paragraph or Text
In order to fix this issue install the patch available at the following link: http://www.mathworks.com/support/bugreports/115...

9 years ago | 0

| accepted