Community Profile

photo

Ankit


Last seen: 18 dagen ago Active since 2019

Development Engineer, AUDI AG | MATLAB user since 2010

Statistics

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

View badges

Content Feed

View by

Answered
Generate wave with simulink
read the following link: Generate discrete sine wave - MATLAB - MathWorks Deutschland and Generate continuous or discrete sine w...

ongeveer een maand ago | 1

Question


Repeat a time based signal in Simulink (not using *.m script) / during Start of simulation based on number of repetitions
I am looking for a way to repeat a time based signals "n" times in Simulink as soon as I run the simulation. Just for referen...

2 maanden ago | 1 answer | 0

1

answer

Answered
Save results on different sheets in excel
You can try this example and adapt to your requirement. first "for loop" you can use for creating 5 different sheets as mentione...

3 maanden ago | 0

Answered
legend font style, f ​​and | are very close
As per as my knowledge this is due to "FontName". Try with other FontName for e.g. Calibri etc you will see the difference.

3 maanden ago | 0

Answered
PLOT CSV FILE IN MATLAB
csvread: The file can only contain numeric values. I would prefer readtable command. With this command you have flexibility to ...

3 maanden ago | 1

| accepted

Answered
Syntax error in function block of simulink
Please refer to the below link to find out the supported Trignometric Functions: https://de.mathworks.com/help/simulink/slref/t...

3 maanden ago | 0

Answered
How to plot a Simulink Desktop Real-Time model output in an App Designer app?
Hi Nagendra, There are different ways to acheive and one solution you can find in the below link: https://de.mathworks.com/mat...

3 maanden ago | 1

| accepted

Answered
How do I solve "Error in port widths or dimensions" error in Simulink?
function input = C_REG(q) % global k_1 k_2 x=q(1); y=q(2); theta=q(3); e_p=[-x -y]; sag=[cos(t...

12 maanden ago | 1

| accepted

Answered
cell Array to numeric column vector
cell2mat converts the contents of a cell array into a single matrix More Info below: cell2mat: https://de.mathworks.com/help/...

meer dan een jaar ago | 0

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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar ago | 0

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

meer dan een jaar ago | 2

| 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

bijna 2 jaar 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...

bijna 2 jaar 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 ...

bijna 2 jaar ago | 0

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

bijna 2 jaar 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(...

bijna 2 jaar 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...

bijna 2 jaar ago | 1

| accepted

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

bijna 2 jaar 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...

bijna 2 jaar 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...

bijna 2 jaar 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...

bijna 2 jaar 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...

bijna 2 jaar 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);...

bijna 2 jaar 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

bijna 2 jaar 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...

bijna 2 jaar ago | 0

Load more