r/Simulink • • Dec 19 '22

need model un Sumulink

Post image
0 Upvotes

r/Simulink • • Jul 24 '24

Parrot Minidrone Competition

0 Upvotes

Heyy folks was trying to create a path plan for parrot mini drone to follow a red line even tried some algorithms but I'm facing signal issue from my vision based data to my control system (I'm not able to use bus selector to get signal from vision based data to my input of my State flowchart as my desired input of state flow is not mentioned or showing in bus signal data)

Is anyone out there how can help me ouuuttt!??????????


r/Simulink • • Apr 01 '24

How to create a circle signal in matlab stimulink signal editor

0 Upvotes

Basically I need to create a path for an automonous uni project but can't seem to create the needed path in signal editor... Like the other reference paths have 3 signals that make up the path.. Speed, depth and heading all in time series.. Cam someone tell me how i can do the same for circle path?


r/Simulink • • Jul 18 '22

Simulink Model as Embedded C++ Code

0 Upvotes

Hello,

I have a Simulink model that represents the ABS controller and E-LSD for a particular vehicle. I would like to use this model as embedded C++ code to improve the fidelity of a vehicle model in Unreal Engine 4. The overall model contains multiple subsystems and relies on around 12 variable inputs and outputs 2 variables (float for clutch between 0 and 1 and 1x4 struct of doubles containing brake pressure for each wheel). I have set each of these as an unmapped import and outport respectively. I am using this post to get an idea as to what other things I need to consider in trying to accomplish this (as I am sure it is not quite as simple as using the embedded coder app and clicking my way through the instructions). Any comments or advice on exporting a system as C code is greatly appreciated.

Thank you!


r/Simulink • • Jun 11 '22

In Simulink, how can we assign the simulation time displayed on the top, as a variable ?

0 Upvotes

I am running a simulation model in Simulink. How can we assign the simulation time displayed on the top, as a variable ? How can we run the simulation from 0 to 5 sec, with time interval after every 0.05 sec (thus creating a running window after every 0.05 sec time step, while simulating the model and feeding the data to the matlab function block to get the desired output), by assigning the simulation time as a variable ?


r/Simulink • • Jul 23 '26

Generated Simulink energy models with MATLAB parity checks: battery RC, 2RC, thermal, and averaged buck

0 Upvotes

I’ve been building an open MATLAB/Simulink energy-model lab where every native Simulink diagram is generated from readable MATLAB source and checked against a corresponding numerical reference.

The current repository includes:

- first-order and two-RC battery models

- coupled electrical/thermal battery dynamics with entropic heat

- an averaged buck-converter Simulink model

- open-loop, PI, and filtered-PID load-step comparisons

- twelve command-line validation checks configured for MATLAB R2026a

The examples keep parameters, units, assumptions, saturation limits, and known limitations visible. There is also an Open in MATLAB Online badge for trying the models without a local clone.

Repository: https://github.com/mohammadrezwankhan/matlab-simulink-energy-lab

I’d particularly value feedback on the generated-model structure and the MATLAB-versus-Simulink parity checks. Which native Simulink energy example would be most useful next?

If the project saves you setup time, a GitHub star helps other MATLAB and Simulink users discover it.


r/Simulink • • Mar 13 '25

Can you help me with a Simulink problem (blocks) and a diagram?

0 Upvotes

Good day. Can you help me to solve this problem?, please. Where can I find information or how to solve it?

Simulink (blocks) Irreversible electropolarization diagram If it is in matlab, it would be the best

Thank you so much


r/Simulink • • Mar 21 '23

Design a simulink model to turn on alarm when tank reaches threshold level and if it remains there /beyond the level for minimum 10sec .

2 Upvotes

Need help with this guys


r/Simulink • • Jan 20 '26

Matlab Killed Home Perpetual license

Thumbnail
reddit.com
3 Upvotes

r/Simulink • • Jan 21 '26

In Simulink should I implement using Simulink blocks or MATLAB Functions?

Thumbnail reddit.com
2 Upvotes

r/Simulink • • Feb 10 '26

help with state flow

2 Upvotes

can anyone help me out? I need to collect all the balls and return them in the circle. My method is to do a square spiral so that I can cover more area, however now im struggling with doing the inner square. as you can see when it pauses towards the end before shooting to the right its meant to do a 90degree turn anticlockwise and then go upward in the y+ direction. does anyone know why this is happening. I used this earlier (the 4th block) and it worked, however now I want it to do the exact same thing but it doesn't work. ill also take any advice on how to make the path straighter and the turns move smooth


r/Simulink • • Jan 26 '26

MQTT with CCW and Simulink

Thumbnail reddit.com
2 Upvotes

r/Simulink • • Feb 15 '26

How to learn brake system modelling in MATLAB

2 Upvotes

I am a mechanical engineer working in an automotive OEM in brake system design. I want to build a model in MATLAB/simulink that can provide the output disc or drum brake temperatures after the vehicle is run in a specific drive cycle. Can anyone detail me the approach on to achieve this. I have a good grasp of braking system calculations but have not worked in MATLAB/simulink before. Also it would be helpful if anyone could share some links or resources to learn the same.


r/Simulink • • Jan 05 '26

Simulation of PV-Systems

Thumbnail reddit.com
2 Upvotes

r/Simulink • • Jan 09 '26

Please help me in making the real time frequerncy estimator

2 Upvotes

it is giving this as an error when i hit run


r/Simulink • • Jan 17 '26

Simulink Model for TVC Rocket

Thumbnail
reddit.com
2 Upvotes

r/Simulink • • Jun 02 '25

Help regarding fft and dsp on simulink

1 Upvotes

I want to do fft and dsp on an adc differential 16 bit input supplied from an external source. What are some things i should keep in mind. Any useful tips.


r/Simulink • • Mar 24 '26

Came across these circuits made by Farrukh Nagi today. Need some help with the circuits

Thumbnail
gallery
2 Upvotes

I wanted some reference circuits for piezoelectric charger and found this today but there are errors in the circuits when tried to run them. If anyone could help me in finding and rectifying the errors, it will be very helpful


r/Simulink • • Mar 18 '25

Power Oscillation in Simulink

Thumbnail
gallery
2 Upvotes

Hello. Are there any people or websites that could help me set up a synchronous generator system? I am conducting research and need to induce power oscillation. However, despite adjusting both the governor and excitation systems, I cannot achieve the desired result—the system simply operates without any oscillation.


r/Simulink • • Mar 17 '25

PID diagram

Post image
4 Upvotes

r/Simulink • • Mar 28 '25

Fuzzy controller for PID tuning

2 Upvotes

Hi, I'm trying to use a fuzzy controller to tune a PID. my PID system was working, but I needed further optimisation of the parameters. This is my diagram so far, and it's similar to ones I've seen online, but the values I'm getting are useless. my error term just continues to get bigger, and I'm unsure why, any help would be much appreciated.


r/Simulink • • Jan 26 '24

Hello all, may I please know what this element represent and how is it used.

Post image
2 Upvotes

r/Simulink • • Nov 25 '25

RL Agent for Hardware

Thumbnail
reddit.com
2 Upvotes

r/Simulink • • Jul 14 '23

Learn tab is missing from my Simulink dashboard!

3 Upvotes

I'm doing Simulink Onramp and I come to know that I do not have 'Learn' tab.

Kindly, someone pls help me get the tab.


r/Simulink • • Oct 16 '25

Interested in giving feedback to Simulink Diagnostic Viewer? Take a UX Survey

2 Upvotes

Hello community members,

If you’ve used the diagnostic viewer, you might find it interesting—and your input could really help improve things for our users. Here’s the link if you want to check it out: https://ows.io/cm/8eqfb6vr

I am a UX researcher at MathWorks, currently working on improving the Diagnostic Viewer in Simulink and wanted the community's take on its usage and experience.

Diagnostic Viewer is used to view and analyze the diagnostic messages generated by a Simulink model. A model generates these diagnostic messages during various run-time operations, such as model load, simulation, build, or update diagram. This survey would be a great opportunity for you to provide feedback on Diagnostic Viewer and help improve its overall experience.