photo

madhan ravi


Last seen: Today Active since 2018

Followers: 0   Following: 0

BMW BMS MBD (Automotive). Absolute fan of MathWorks.

Spoken Languages:
English, German

Statistics

All
  • GitHub Submissions Level 1
  • Master
  • First Review
  • First Submission
  • Thankful Level 5
  • 12 Month Streak
  • Knowledgeable Level 5
  • Promoter
  • Commenter
  • Revival Level 3
  • Solver
  • First Answer

View badges

Feeds

Answered
Documenting ports in a Simulink fixed point model
https://in.mathworks.com/matlabcentral/answers/95626-how-do-i-query-the-data-type-of-every-input-and-output-port-in-a-simulink-m...

2 months ago | 1

| accepted

Submitted


MATLAB_Simulink_FEX
Aligns all the ports connect to a subsytem in a horizontal line making the model look asthetically good.

2 months ago | 4 downloads |

Thumbnail

Answered
How long does it take for FEX to be submitted via GitHub?
Was able to publish it finally : <https://de.mathworks.com/matlabcentral/fileexchange/160906-matlab_simulink_fex?s_tid=srchtitl...

3 months ago | 0

| accepted

Question


How long does it take for FEX to be submitted via GitHub?
I tried to submit a FEX via GITHUB but I see this message: Does it take time to be resolved until they approve my submission or...

3 months ago | 1 answer | 0

1

answer

Answered
Referenced model contains an algebraic loop. Referenced models do not support algebraic loops
As seen in the preview of the Referenced Model, there is a feedback to a subsystem make sure to add a Unit Delay block to the fe...

4 months ago | 0

| accepted

Answered
Using multiple instances of a referenced model with different port dimensions
Seems like there is no way to do what you want using a *Referenced Model* AFAIK. I would rather suggest you to make the model as...

4 months ago | 0

Answered
I am facing problem when I am using frequency analyzer in Simulink.
Continuous Sample Time

4 months ago | 0

Answered
How to activate Interpolate Data in Inport block in Simulink MATLAB
That option is under Execution dialog box:

4 months ago | 0

Answered
How can I avoid errors due to division by zero in Simulink?
Or making the result to be zero when the divisor is zero using a *Switch block*

4 months ago | 0

Answered
Adding text to a plot without specifying it first as a string
r = 1:3; rho = 4:6; plot(1:10) x = 1:3:9; y = x+1; for k = 1 : numel(x) text(x(k), y(k), {"r = " + r(k), "\rho = " + r...

5 months ago | 0

| accepted

Answered
Why does my top bar flicker and grays out in Simulink?
Perhaps a bug report to *MathWorks Support Team*?

5 months ago | 0

Answered
how to run Model predictive controller in parallel with another model
You probably need <https://in.mathworks.com/help/simulink/model-reference.html>

5 months ago | 0

| accepted

Answered
Simlink example “Heat Conduction Through Iron Rod”
*From Left to Right :* T_5 is To Workspace block it is connected to Demux block which is connected to Scope. Cyl 2 (not ent...

5 months ago | 1

| accepted

Answered
Get data points for simscape-Table based battery
https://in.mathworks.com/help/sps/ug/pre-parameterized-components.html#mw_e92af2d2-0ae5-4856-af2b-9b386e72860f here you can find...

5 months ago | 0

| accepted

Answered
Why i can not connect current sensor to dc voltage?
You need <https://in.mathworks.com/help/simscape/ref/simulinkpsconverter.html#:~:text=The%20Simulink%2DPS%20Converter%20block,a%...

5 months ago | 0

| accepted

Answered
Good day, i designed a model whereby if the speed of the drive profile is less than zero,the output should be one.
If you have the drive cycle as a .mat file, use a *From File* block.

5 months ago | 0

Answered
How to export a matlab/simulink model to FMU
https://in.mathworks.com/help/slcompiler/gs/export-simulink-models-to-functional-mock-up-units.html#mw_b6804c90-9242-4064-a65e-8...

5 months ago | 0

Answered
Keyboard Shortcut ctrl+d (init model) - does not work any more
what do you mean init model? https://in.mathworks.com/help/simulink/ug/summary-of-mouse-and-keyboard-actions.html#butxv7y it is...

5 months ago | 0

Answered
Difference between Matlab, simulink and embedded coder?
https://in.mathworks.com/matlabcentral/answers/12091-difference-between-simulink-coder-embedded-coder-and-matlab-coder https://...

5 months ago | 0

Answered
How to phase shift a non sinusoidal signal in Simulink
One would need to use Phase Locked Loop ( PLL ) to determine the phase angle of the signal and then you can phase shift the ang...

5 months ago | 0

Answered
I integrated fault current which is sine wave with its time period as an interval. But, i am getting value as an answer instead of getting 0.
Not sure what you are doing with your code. When using cursor measurements the 2 cursor points should measure same value as 0. D...

5 months ago | 0

| accepted

Answered
Too many output arguments. Requested 3 output(s), but only 1 output(s) available.
You expect three outputs to be returned from sim() whereas only one output can be returned from sim() command <https://in.mat...

5 months ago | 1

| accepted

Answered
Get timescale for all layouts in Simulink Scope
<https://in.mathworks.com/help/simulink/slref/spbscopes.scope.timescopeconfiguration.html#buvw6zv-1-TimeAxisLabels *TimeAxisLabe...

5 months ago | 1

Answered
Why are the Corners Shaded in the Model Reference Block?
https://in.mathworks.com/help/simulink/slref/visualizing-model-reference-architectures.html when SimulationMode is in Accelerato...

5 months ago | 0

| accepted

Answered
Struct as mask input
Use one of the approaches mentioned in the link: https://in.mathworks.com/matlabcentral/answers/2050862-how-to-pass-a-struct-to...

5 months ago | 0

Answered
two output in one scope
Using 2 Model Blocks reference one .mdl file and and the other .mdl file (if the model block doesn"t support .mdl format, conver...

5 months ago | 1

Answered
why matlab can't plot signals ?
t = 0 : 0.0001 : 0.1; % ^

5 months ago | 1

Answered
finding the columns include ones
index = find(all(matrix)) % one can directly use logical indexing without find() function

5 months ago | 0

| accepted

Answered
I have plotted a signal in Simulink and now i want to write a code to integrate that signal over the limits? can anyone help me with this please
Use Integrated Limited block specifying the upper limit as 0.008 and lower as 0. edit: Thanks @Paul, i overlooked it, yes the s...

5 months ago | 1

| accepted

Answered
Concatenating vector in in simulink for loop
You need to use <https://in.mathworks.com/help/simulink/slref/assignment.html?searchHighlight=Assignment%20block&s_tid=srchtitle...

5 months ago | 0

Load more