photo

Ajay Pherwani


KPIT

Last seen: más de 1 año hace Con actividad desde 2013

Followers: 0   Following: 0

Mensaje

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

Estadística

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

Ver insignias

Feeds

Ver por

Pregunta


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

alrededor de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 9 años hace | 0 respuestas | 0

0

respuestas

Respondida
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';

más de 9 años hace | 0

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

más de 9 años hace | 0

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

más de 9 años hace | 0

Respondida
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 !!

más de 9 años hace | 0

Pregunta


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

casi 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 10 años hace | 0 respuestas | 0

0

respuestas

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

Respondida
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

alrededor de 10 años hace | 0

| aceptada

Pregunta


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

alrededor de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

alrededor de 10 años hace | 2 respuestas | 0

2

respuestas

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

alrededor de 10 años hace | 0

| aceptada

Pregunta


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

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 11 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

casi 11 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ?

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 11 años hace | 1 respuesta | 0

1

respuesta

Cargar más