Ajay Pherwani
KPIT
Followers: 0 Following: 0
Sr. Software Engineer in KPIT Working in Automotive domain Professional Interests: Simulink , S- Function , GUI, m-scripting, TLC , Embedded C, Automotive domain, Controls
Statistics
RANK
8 076
of 289 719
REPUTATION
5
CONTRIBUTIONS
26 Questions
11 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
1
RANK
of 19 580
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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...
nästan 9 år ago | 0 answers | 0
0
answersQuestion
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...
ungefär 9 år ago | 0 answers | 0
0
answersAdding element within vector without overwriting the existing value
expitemorder is a 8x1 cell array/vector , to update any element : - expitemorder{ _any_index_,1}='value';
ungefär 9 år ago | 0
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...
mer än 9 år ago | 0
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 !! ...
mer än 9 år ago | 0
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 !!
mer än 9 år ago | 0
Question
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...
mer än 9 år ago | 2 answers | 0
2
answersQuestion
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...
nästan 10 år ago | 1 answer | 0
1
answerQuestion
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 ...
nästan 10 år ago | 1 answer | 0
1
answerQuestion
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 ...
nästan 10 år ago | 1 answer | 0
1
answerQuestion
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
nästan 10 år ago | 0 answers | 0
0
answersI dont see an error
display([' Nif = ',num2str(Nif,'% 10.2f') ' [-]']); missing a ,(comma) after ' Nif = '
nästan 10 år ago | 0
Simulink Constant Block multiple string input
instead of putting qq =[a b c] in constant block update the constant value as [ a b c ]
nästan 10 år ago | 0
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...
nästan 10 år ago | 0
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
nästan 10 år ago | 0
| accepted
Question
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 ...
nästan 10 år ago | 0 answers | 0
0
answersQuestion
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 ...
nästan 10 år ago | 2 answers | 0
2
answersI 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...
nästan 10 år ago | 0
| accepted
Question
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...
nästan 10 år ago | 1 answer | 0
1
answerQuestion
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...
nästan 10 år ago | 1 answer | 0
1
answerQuestion
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...
nästan 10 år ago | 1 answer | 0
1
answerQuestion
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...
ungefär 10 år ago | 1 answer | 0
1
answerQuestion
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...
ungefär 10 år ago | 1 answer | 0
1
answerQuestion
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 '...
mer än 10 år ago | 3 answers | 0
3
answersQuestion
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 ...
mer än 10 år ago | 2 answers | 0
2
answersQuestion
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 ?
mer än 10 år ago | 1 answer | 0
1
answerQuestion
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...
mer än 10 år ago | 1 answer | 0
1
answerQuestion
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 ...
nästan 11 år ago | 1 answer | 0
1
answerQuestion
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...
ungefär 11 år ago | 1 answer | 0
1
answerQuestion
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...
ungefär 11 år ago | 1 answer | 0