Community Profile

# Ankit

##### Last seen: Today
46 total contributions since 2019

Development Engineer, AUDI AG | MATLAB user since 2010

View details...

Contributions in
View by

Syntax error in function block of simulink

4 days ago | 0

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

4 days ago | 1

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

9 months ago | 1

| accepted

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

1 year ago | 0

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

1 year ago | 1

| accepted

How to differentiate Subsystem and MATLAB Function Block with find_system()

1 year ago | 0

| accepted

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 year ago | 0

How to mirror a plot ?

1 year ago | 2

| accepted

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 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

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

App Designer to control a Simulink Model and read back model data

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 1

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

set a pic in GUI

1 year ago | 1

| accepted

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

1 year ago | 0

| accepted

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

1 year ago | 0

| accepted

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

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

1 year ago | 1 answer | 0

### 1

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 2

| accepted