Community Profile

# Divya Yerraguntla

### MathWorks

Last seen: ungefär 2 månader ago Active since 2019

I'm Divya, an Associate in the Engineering Development Group at MathWorks, Hyderabad. I'm curious to explore any toolbox of MATLAB and SIMULINK.

DISCLAIMER : Any advice or opinions here are my own, and in no way reflect that of MathWorks.

All

#### Content Feed

View by

Save an updating output
Hi Mohammad, You could achieve this functionality by using GoTo Block and From Block in Simulink. Have a look at the example :...

mer än ett år ago | 0

How do you create a panorama with multiple images?

mer än ett år ago | 0

Matlab color coded matrix
Hi Dominic, Have a look at a similar question : https://in.mathworks.com/matlabcentral/answers/11513-display-matrix-values-with...

mer än ett år ago | 0

How can find the maximum of f(x) by updating initial guesses in a loop?
Hi Loic, I dont see any issue with the updation of initial guesses in your code. The initial guesses keep updating until the 3...

mer än ett år ago | 0

How to render all plot information into a metafile using copy figure, saveas, print, or any other option?
Hi Burak, This is a known issue in MATLAB. As a workaround try appending this code at the end of your code: EDIT : style = ge...

mer än ett år ago | 0

How do I retrieve App.UIFigure after diary on
Hi, Try using figure(FigHandle) %FigHandle is the handle for the GUI figure to bring the Figure to focus.

mer än ett år ago | 0

how can I overcome on algebraic loop in simulink
Hi Rashed, This issue might occur when you are using the integrator block with 0 initial condition, try changing the initial co...

mer än ett år ago | 1

I need to under sample, perfect sample, and over sample a sinusoidal signal.
Hi Aman, As the frequency of signal is 100Hz(f) the sampling frequency: fs < 2f - under sampling fs = 2f - perfect sampling ...

mer än ett år ago | 0

| accepted

How to prompt an error message box if no image is selected? (App Design)
Hi Cyrick, You could use the below model code to achieve your purpose: [file,path] = uigetfile; % Open file selection dialog b...

mer än ett år ago | 0

unable to use Aerospace Blockset function eci2ecef
Hi Eduardo, The "eci2ecef" is part of the set of function in CubeSats hence the function requires the 'Aerospace Blockset CubeS...

mer än ett år ago | 0

| accepted

How to use syms inside a function that is called in simulink?
Hi Vinayak, As the error describes the syms function is not supported for Code Generation. So a possible workaround in your cas...

mer än ett år ago | 0

| accepted

Write a for loop to find the mean and standard error of reaction time in each condition and put them in a structure?
Have a look at a similar question : https://in.mathworks.com/matlabcentral/answers/166201-how-to-iterate-through-structure-field...

mer än ett år ago | 0

Using values from a for loop in another for loop
Hi Adam, After making the modification suggested by Arthur you are plotting the data for each iteration in your 2nd for loop. S...

mer än ett år ago | 0

Where does the output of Simulink "To workspace" blocks go when the project is deployed?

mer än ett år ago | 0

plot overdamped response of the voltage across the capacitor.
Hi Sasheel, The voltage across the capacitor is getting saturated at approximately 1ms itself but your code is plotting the dat...

mer än ett år ago | 0

| accepted

Solve Differential Algebraic Equations (DAEs)
Have a look at a similar question : https://www.mathworks.com/matlabcentral/answers/102944-what-is-the-meaning-of-this-dae-appea...

mer än ett år ago | 0

How to identify the input and output in a c code generated from Simulink model
Hi Vivek, In order to provide customized inputs you need to change the input source blocks used in the model during simulation...

mer än ett år ago | 1

| accepted

Indexing directly on a matrix literal
Hi Bill, You could have a look at a similar question : https://www.mathworks.com/matlabcentral/answers/78242-indexing-of-fresh...

mer än ett år ago | 0

strtok not working with certain char array!! Help
Hi Rimmi, I feel strtok s working as intended here. In your case when the message becomes 'kknight' the delimiter becomes 'k'(m...

mer än ett år ago | 0

getting values from work space to simulink and simulating a signal
Hi, I am assuming you want to acess the 58th row of a workspace variable at a sampling rate of 0.004sec. This could be done by ...

mer än ett år ago | 1

| accepted

Open simscape results explorer (sscexplore) with data in .mat-files / workspace data
Hi Andreas, The input arguments of the function sscexplore must be of the type Node. Try and check if you are passing the right...

mer än ett år ago | 1

How to animate a stick figure?
Have a look at this function to create animated lines in MATLAB: https://www.mathworks.com/help/matlab/ref/animatedline.html

mer än ett år ago | 0

Taylor series Approximation of x*cos(x) at x = 2pi/3
Hi, I'm assuming you want to know the number of terms in the T12 expression. To do this you could use the function children ...

mer än ett år ago | 0

Defining Simulink block parameters which are dependent on a signal value in Simulink
Have a look at a similar question: https://www.mathworks.com/matlabcentral/answers/402030-how-to-use-input-signals-as-variables...

mer än ett år ago | 1

how can include simscape in simulink library?
Hi Abduwalli, If you couldn't already see Simscape in Simulink Library it means you haven't installed it. So try installing S...

mer än ett år ago | 0

export matlab to solidworks
Hi Omri, Have a look at these links: https://blogs.mathworks.com/pick/2009/06/05/writing-to-stl-files/ https://www.mathworks....

mer än ett år ago | 0

How can I demonstrate the pulse width as number on display in Simulink?
Hi Mohamed, Assuming you have the Frequency and Duty_Cycle as inputs to the model, you could calculate the Pulse Width as: w...

mer än ett år ago | 0

pareto-ranking based fitness
Hi, Have a look at gamultiobj function to find the pareto front of multiple fitness functions using genetic algorithm. Hope it...

nästan 2 år ago | 0