Community Profile

photo

Ankit


Last seen: 2 days ago
42 total contributions since 2019

Entwicklungsingenieur, AUDI AG | MATLAB user since 2010

Contact

Ankit's Badges

  • 6 Month Streak
  • Personal Best Downloads Level 1
  • GitHub Submissions Level 1
  • 5-Star Galaxy Level 1
  • First Submission
  • First Review
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
extracting data from a picture of a chart
grabit is one of the option with which you can extract data from *.jpg, *.png etc You can find it on FEX: https://de.mathwor...

19 days ago | 1

| accepted

Answered
How to differentiate Subsystem and MATLAB Function Block with find_system()
Hello Lucas, Please refer to the answer provided by Murugan C in the below link: https://de.mathworks.com/matlabcentral/answer...

27 days ago | 0

| accepted

Answered
How to read txt file usinig txtscan?
Here you go: % Create import options, tailor the data types for multiple variables, and then read the data filename = 'Ahm-201...

1 month ago | 0

Answered
How to mirror a plot ?
After your plot command, add the below line: set(gca, 'XDir','reverse')

1 month ago | 0

| accepted

Answered
How do I plot the Colebrook equation?
Here you can find the submission from Ildeberto de los Santos Ruiz https://de.mathworks.com/matlabcentral/fileexchange/72247-co...

1 month ago | 0

Answered
Mark the intersection of two curves in a graph
Hi, There are few solutions and answers which you can found in below links: Detect Curve Intersections, Quickly and Easily h...

2 months ago | 0

Answered
How can i collect output port data from Simulink model to GUI using get_param?
You want to use specifically get_param? You can find my submission on how to control Simulink Model from MATLAB App based on ev...

3 months ago | 0

Answered
How to change the filename in xlswrite using loop
using xlswrite in a loop will effect performance. Try this FEX: https://de.mathworks.com/matlabcentral/fileexchange/10465-xlswri...

3 months ago | 0

Submitted


Interface between MATLAB App and Simulink
This app enables to read and display the Simulink model outputs during the simulation in the MATLAB app.

4 months ago | 29 downloads |

Thumbnail

Answered
App Designer to control a Simulink Model and read back model data
Update 21.11.2019: Please check my submission in the below link: https://de.mathworks.com/matlabcentral/fileexchange/73613-int...

4 months ago | 0

Answered
Update plot uitable problem
After a while, I found a solution to this problem: t = table(Drehzahl, Drehmoment, 'RowNames',{'Startpunkt' 'P1' 'P2' 'P3' 'End...

4 months ago | 0

| accepted

Answered
How can I show the outputs of a simulink model in a GUI?
Please use internet search engine or FEX you will find most of the answers to your problem check this file exchange submission ...

4 months ago | 0

Answered
how to save image in specific folder in matlab?
Moved from comment section to Answer!!! -------------------------------------------------------- ImageFolder need to be a stri...

4 months ago | 0

Answered
Appdesigner textbox: is there a way to do multiple lines like for step 1, step 2, etc..?
Hi Aaron, by changing the position property (position: [left bottom width height]) you can fit your complete text. d = dialog(...

4 months ago | 0

| accepted

Answered
Save (Axes) As in GUI
Updated! Hi Abdullah, Based on your comment I updated the answer function pushbutton_SaveasImg_Callback(hObject, eventdata, h...

4 months ago | 0

| accepted

Submitted


Interface between MATLAB App and Simulink
This file consists of necessary steps and settings to enable App Designer to control the inputs and displaying model values back...

4 months ago | 27 downloads |

Thumbnail

Answered
set a pic in GUI
Updated based on Adam's comment! Thanks for your feedback. --------------------------------------------------------------------...

4 months ago | 1

| accepted

Answered
Saving the plot after modifications in the GUI - Matlab
Hi Adam, In the below example, first you need to copy the UIAxes to the temporary figure. And then you can save it as *.png. f...

5 months ago | 0

| accepted

Answered
Logical expression not working with loop and if statement
Hello Maxence Boels, this is due to the inner for loop, which is causing problem. for n =1, the inner loop changes its values f...

5 months ago | 0

| accepted

Answered
Reading complex numbers from Excel
Step.1: Reading values from the excel sheet (see attachment). [num,txt,raw] = xlsread('imag_real.xlsx') Step.2: Apply a str2do...

5 months ago | 0

| accepted

Question


How to check if external program/software is installed using App
I developed an App which simulates the Simulink model. This simulink model requires another external program/software which need...

5 months ago | 1 answer | 0

1

answer

Answered
Plotting on .fig file (in new window if possible)
Here is an example: close all; MySavedPlot = open('MySavedPlot.fig'); figure(MySavedPlot) hold on x = linspace(-2*pi,2*pi);...

6 months ago | 0

Answered
How to use pop-up menu to control table in GUIDE?
hi chia yu li, here you can find such GUI. thanks Ankit

6 months ago | 0

Answered
Simulink modeling from the command line
you can use following commands: open_system({ 'model1name', 'model2name' }); set_param('model1name', 'StopTime', 'inf') set_p...

6 months ago | 0

Answered
how can i solve this eigenvalue equation?
hi using eig command: https://de.mathworks.com/help/matlab/ref/eig.html a=[1 2;5 6]; b=[3 6;7 8]; [V,D] = eig(a,b); Are yo...

6 months ago | 2

| accepted

Answered
Column Format in UI Table
hey, you can set the format of your table as follows using 'ColumnFormat' property. Are you looking for something like this? C...

6 months ago | 1

Answered
How to change the length of the lines inside the legend?
Hello Sandeep, check this interesting file in FEX: https://de.mathworks.com/matlabcentral/fileexchange/58914-resizelegend-varar...

6 months ago | 0

Answered
How to change the order on vertical axis on a figure ?
hi, you could try this x = linspace(0,3*pi,200); y = cos(x) + rand(1,200); scatter(x,y) set(gca,'YDir','reverse')

6 months ago | 0

| accepted

Answered
how to delete cells in a cell array, such that it has the same length as one of my other arrays
There are different ways in which you can delete an element from your array Case 1: If you want to delete an specific element ...

6 months ago | 0

Answered
From spreadsheet in simulink ....How to deal with inf problem
hello, there is problem in your spreadsheet. I would like to confirm that if your time values are correct. You just need to ...

6 months ago | 0

| accepted

Load more