photo

Ajay Pherwani


Last seen: 9 Monate vor Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Sr. Software Engineer in KPIT Working in Automotive domain Professional Interests: Simulink , S- Function , GUI, m-scripting, TLC , Embedded C, Automotive domain, Controls

Statistik

All
MATLAB Answers

26 Fragen
11 Antworten

Cody

0 Probleme
25 Lösungen

RANG
8.569
of 300.840

REPUTATION
5

BEITRÄGE
26 Fragen
11 Antworten

ANTWORTZUSTIMMUNG
50.0%

ERHALTENE STIMMEN
1

RANG
 of 21.092

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG
20.842
of 171.238

BEITRÄGE
0 Probleme
25 Lösungen

PUNKTESTAND
260

ANZAHL DER ABZEICHEN
1

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to change waitbar color in Matlab R2015A
I have a scripting running on Both Matlab versions ( R2013B and R2015A) h = waitbar(2/10,'Opening..') Matlab R2013B give...

mehr als 10 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Find compilation time of a simulink model
Is there are way find the compilation time of a model ? I have used : tic;set_param('model','SimulationCommand','update');to...

fast 11 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Adding element within vector without overwriting the existing value
expitemorder is a 8x1 cell array/vector , to update any element : - expitemorder{ _any_index_,1}='value';

fast 11 Jahre vor | 0

Beantwortet
Passing data from Flash to MATLAB through Javascript
Try something like this: url = 'http://www.example.com/'; html = urlread(url); % Use regular expressions to rem...

etwa 11 Jahre vor | 0

Beantwortet
how to emulate "hold on" in 2014b
hold on and hold all are the same in R20104b Matlab 2014b help document suggests that they might remove hold all in future !! ...

etwa 11 Jahre vor | 0

Beantwortet
average of each 10 values of an external file and save in new file
If it is not necessary to do programming and u just want the results just use the excel marco's , should be easy !!

etwa 11 Jahre vor | 0

Frage


can we control Data Inspector from command line ?
I am using Data logger in 2013 with one of my model. After configuring the signals to log , I run a script which simulates my...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to optimize for loops and while loops in m scripts ?
Are there any practices you follow that have a tendency to optimize and reduce the loops in your m-script ? are there any avail...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to compare special characters in string
I have a strings string='$(0)parameter' I want to find if '$' is present in the string or not. Can any one tell me how ...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to read a string data from excel sheet ? Or to read a single row having charaters
I want to read an excel sheet . 1st row all variable names 2: N th row all data I just want to read the 1st row . Is that ...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to call a matlab function from Sfunction ?
how to call a basic matlab function from Sfunction ? Also in order to concatenate a string can i use "strcat" in S function

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
I dont see an error
display([' Nif = ',num2str(Nif,'% 10.2f') ' [-]']); missing a ,(comma) after ' Nif = '

mehr als 11 Jahre vor | 0

Beantwortet
Simulink Constant Block multiple string input
instead of putting qq =[a b c] in constant block update the constant value as [ a b c ]

mehr als 11 Jahre vor | 0

Beantwortet
What does this line does? "H(ind(:,k), ind(:,k))=S"
assuming k = 4 and ind is an matrix of 4x6(4 rows x 6 columns ) -->ind(:,k) will give u all elements of column 4(value of k) in...

mehr als 11 Jahre vor | 0

Beantwortet
Can anyone interpret this short code for me?
I guess T_test should get values from T_min to T_max with the interval of ( or step value of ) eps/t_span

mehr als 11 Jahre vor | 0

| akzeptiert

Frage


how to know whether the model running is in simulation model, code gen mode or in rapid accel mode in script?
In model initialization , If I want to know whether the model running is in simulation model code gen mode or rapid accel mode ...

mehr als 11 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


What is a non-inlined S function
I was trying to create my own library blocks for a model. It simulated , but when i tried to make a build it throw-ed an error ...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
I am trying debugg a S function on Visual studio , but I Matlab 2010A cannot locate the visual 2010 compiler , when i do "mex -setup"
Matlab 2010A was launched after Visual studio 2010 , hence visual sudtio didnt had the support for Matlab 2010. They have rele...

mehr als 11 Jahre vor | 0

| akzeptiert

Frage


how to get the port data inside a mask editor parameter/variable of a subsystem ?
Want to read a data on port in the mask editor . I have an script running (which is called in mask editor),depending upon the v...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Can we call Per script , from Level 2 S Function ?
Working on S Function of a block. Using C to write it. Need to call a Perl script once the simulation is over . I know ho...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I am trying debugg a S function on Visual studio , but I Matlab 2010A cannot locate the visual 2010 compiler , when i do "mex -setup"
I am working on S Functions , need to debug them. Visual Studio 2010 is installed in my 32 bit machine. When I try to select...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to generate S-Function using legacy tool box for a Function having multiple function calls in it
I am working on S-Function and I am still a beginner. For a simple adder function I was able to generate S-function block and...

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Can we call a m-script during model simulation ?:
I want to run a script , which will update some of my parameters in the workspace. Is it possible to call a m-script during mod...

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to read a text or a .c file without comments into a cell array ?
I have a c file name 'function.c' It have code and comments as well comments are noted with '/*' '*/' Or '//' OR sometimes '...

mehr als 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Can we get a handle of any .exe file running in Windows using m-scripts ?
If there is a program running in VB++ or in C-Sharp or in Java , Is it possible to do any kind of automation with them, using ...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


What is the range of datatype double in Matlab ?
If we assign any value to a variable , Matlab assigns its data type as double . What is the max range of that variable ?

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can we add a If-action-subsystem to a any model using m-Scripts ?
I am using a script to add blocks in the model ( using add_block function ) Can any one tell me how can i add a "If Action Su...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Can we generate macro function in code, using simulink model and RTW EC auto coder ?
We are currently having lot of for loops , and they are just to fetch the data from a constant array in to a local data array ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to get a handle of state chart ? and how to read the chart flow using script ?
1.how can I read the number of charts present in the model ? 2.Also how to read a logic inside the state chart ? ( if we consid...

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to make a variable available for two functions in scripting
I am working on scripts I have a varaible 'xyz' that will be updated in function_1 and i want to read it in function_2 ho...

fast 13 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden