r/matlab • • 9h ago

Fun/Funny Yo guess who is using MATLAB for uni capstone

3 Upvotes

r/matlab • • 20h ago

Help 😓

0 Upvotes

Hello everyone, I hope you're all doing well... Well 😊... I'm using COMSOL 6.2, working on a simulation of a proton-exchange membrane water electrolysis system. The problem is, I'm not very experienced with COMSOL and I need to build the model myself from scratch. I haven't found a model in comsol's library 😭 there is a model for a fuel cell, but that's not what I need. Every time I ask for help on Facebook, I get comments about paid services, and I don't even know if they're legitimate... Any advice?


r/matlab • • 1d ago

Fun/Funny MATLAB and Simulink made it into a K-Drama dialogue

Post image
377 Upvotes

My Korean colleague was watching the new K-Drama Between Steps (Episode 3) and did a double-take when the dialogue suddenly turned to MATLAB and Simulink. Thought you might also appreciate it.

You can watch it on Disney+ or Hulu in the US.


r/matlab • • 2d ago

Matlab Student Account

0 Upvotes

Hey guys! I'm a recent BTech graduate and I wanted to learn MATLAB as a skill but my college didn't provide me with free access. I was hoping I could share the access with one of you if you have a college provided free access account. I could still use the 1 month trial version but this is just better and cleaner. Let me know if anyone is up to it!

Thanks in advance


r/matlab • • 2d ago

Looking for Simulink Help

3 Upvotes

I’m looking for someone who has experience with MATLAB Simulink regarding propulsion system?

I already have an existing Simulink model, but I’m still learning how to understand, analyse, and work with it.

I’m hoping to find someone who can guide me through the model, and teach me how to make modifications of the parameters.

I’m happy to offer some compensation for your time and guidance.

Online tutoring is perfectly fine!

If you have experience in this area or know someone who does, please feel free to DM me.

Thank you so much!


r/matlab • • 3d ago

TechnicalQuestion How do you keep a database that can be accessed/edited by several functions?

5 Upvotes

I'm using matlab to study an exam for orbital mechanics (setting up Codes that calculate ground tracks predict new orbit after a maneuver, all that jazz)

I've thought of sitting down after the exam and turn them into one Big app that students can use to practice and the department may use for their lessons (i wanted to be able to set up exercises like a target orbit to reach or an object to rendevouz)

However, i'm not familiar with the appdesigner yet, and this i'm a bit confused.

For example, how is data stored inside functions? I wanted to make a script that would let you preview the maneuver effect, them hit "confirm" or "redo" and update current maneuver to the estimated maneuver, for example, and sum the extra deltaV and time of flight into a stored data. How do i keep databases that span múltiple functions? Thanks in advance


r/matlab • • 3d ago

Final Project ideas for MATLAB

10 Upvotes

I'm a sophomore in college majoring in aerospace engineering. I have to do a final project for my matlab class. I thought about maybe making a simple rocket launch simulation, that calculates things like total flight time, apogee, motor impulse, landing speed, etc. I wasn't sure if that was a good idea or not. I really just want to play it safe, I don't care about being impressive.

Thanks for any replies.


r/matlab • • 6d ago

Tips [RESOURCE] Why does the Ensemble Kalman Filter work? A justification through non-linear filtering theory

Thumbnail
1 Upvotes

r/matlab • • 6d ago

Boxes not appearing

1 Upvotes

Hello, I was wondering if anyone has the same problem or experienced something similar. Recently, the chack boxes and value fields stop showing. They build underneath, the mechanics still work, if I press where the check box use to the action runs, but the box itself doesn't build in the UI.

I am not sure if it is connected to or not but recently I updated to MACOS 27 and that produced seemingly unrelated bugs with other apps.


r/matlab • • 7d ago

Trying to learn trajectory control

Thumbnail
0 Upvotes

r/matlab • • 7d ago

Tips Need some help on my graded project

4 Upvotes

Hi everyone,

I am an undergraduate student and recently we had a graded project course where we have to work on something that we are interested in. Me and my friend have the basics of matlab knowledge but idk what happened to us we chose to do behavioural modelling of ADPLL for BLE application using MATLAB and simulink.

I can describe my project like this

A MATLAB/Simulink-based behavioral analysis of a BLE ADPLL, with emphasis on transient response, frequency tracking, closed-loop behavior, and the effect of TDC quantization and DCO variations on locking performance.

But now we are stuck. I am really confused about what I am supposed to do and what i am doing. I am not able to understand most of the things and our guide is useless, she is not helping a bit. I know we rushed and stuff but we don't have any options left and we can't back out now.

I just want someone to guide me through the process and genuine opinions on the project and to answer my doubts. Please help me out if you can!

The deadline for this project is 26th so I am kind of in hell.

If anyone has any tips please drop them in the comments!


r/matlab • • 8d ago

A PID controller implemented in python

Thumbnail gallery
0 Upvotes

r/matlab • • 8d ago

Best way to model a compliant hinge in MATLAB?

Post image
15 Upvotes

I’m modeling a 3D compliant hinge mechanism in MATLAB with large rotations. I first used a rotational spring at a single node, but most of the deformation happened in the surrounding beam elements instead of the hinge.

What is the best way to model this type of compliant hinge in MATLAB? Any reference, example, or code would be very helpful.


r/matlab • • 9d ago

CodeShare What do you approve when the diff says binary file not shown?

0 Upvotes

After I posted the cardiac digital twin demo in July, someone asked me a question I could not answer with my own repo. If that dose change lived in a teams pull request, what would the reviewer actually look at?

For most Simulink teams the answer is a file name, a size, and Binary file not shown. My first attempt at fixing that was unzipping the .slx and diffing the XML. It produced a diff, and that was the problem. A text diff always looks complete, even when the tool understood half of what it read.

So I built a GitHub Action that says how much of the model it actually saw before saying anything else. Each extraction comes back complete, partial, unsupported, or failed, and only complete can ever mean no drift. A Copilot app canvas then walks the reviewer through trust, impact, evidence, and a merge assessment. It cannot approve anything.

The first time it reviewed my own cardiac model, it blocked it as partial. That was the right answer.

A review tool that cannot say I don't know will eventually approve a change it never saw. I wrote up the full version, workflow file included.

https://samueltauil.github.io/github-copilot/devops/2026/10/06/simulink-model-drift-pull-request-review-copilot-canvas.html


r/matlab • • 9d ago

Guide: How to install and run the Windows version of MATLAB on Linux

14 Upvotes

Hey everyone,

i put together a quick step-by-step GitHub repo on how to properly install and run the Windows version of MATLAB on Linux using Wine.

You can find the short guide here:

https://github.com/pasqualecofone/matlab-windows-version-on-linux-system/blob/main/README.md

Let me know if it works for you!


r/matlab • • 9d ago

real number problem

0 Upvotes

when i input a real number, it keeps giving me the message 'a has to be a real number' any help as to how to fix this would be appreciated


r/matlab • • 9d ago

Tips What benefits do I have if I use java.lang.String class variables instead of string?

0 Upvotes

r/matlab • • 10d ago

Optical System Design and Analysis in MATLAB R2026b R2026b

Thumbnail
9 Upvotes

r/matlab • • 11d ago

I made a free browser viewer for .mat files

21 Upvotes

Used my free time made this web based Matlab data viewer, trying to collect some feedback, if you are interested to use, completely free, and local based, no data uploaded to cloud/server, no reg needed. Hope can help people try to open without Matlab in hand.

https://megarows.com


r/matlab • • 12d ago

CodeShare controlsys v1.12.0: a control-systems toolbox for Go (MIT)

0 Upvotes

controlsys is a Go package for linear control systems. It works on continuous-time and discrete-time models. The main model form is state space.

Main capabilities:

  • Models: state space, transfer function, zero-pole-gain (ZPK), frequency-response data (FRD), model arrays and tunable blocks.
  • Analysis: Bode, Nyquist and Nichols plots, gain and phase margins, disk margins and step metrics.
  • Design: LQR, LQG, Kalman filters, H2 and H-infinity synthesis, pole placement and PID tuning.
  • Simulation: step, impulse, initial-condition and arbitrary-input responses.
  • Model reduction: balanced truncation and modal truncation.
  • Delays: input, output and internal delays, with Pade and Thiran approximations.
  • Conversion: ZOH, FOH, Tustin, matched, impulse and least-squares methods between continuous and discrete time, in both directions and for resampling. We test the results against MATLAB behaviour.

New in v1.12.0:

  • Tustin conversion with Thiran filters is approximately 30% faster than in v1.11.0.
  • Tustin conversion with Thiran filters now supports MIMO models with delays on individual input-to-output paths.
  • ThiranDelay now accepts short delays when the filter is stable.

Install:

go get plantcontrol.org/v1/controlsys

Repo: https://github.com/PlantControl/controlsys
Release notes: https://github.com/PlantControl/controlsys/releases/tag/v1.12.0

We want your feedback, especially from people who use MATLAB or python-control.


r/matlab • • 13d ago

What's new in MATLAB 2026b?

130 Upvotes

The latest version of MATLAB, 2026b, was released last week and in my latest article I pick out 9 of my favorite enhancements out of the hundreds on offer. My list includes
- The MATLAB Package Manager
- An enhanced command window including Markdown Support
- A raft of performance enhancements
- A look at extensive new functionality relating to Design of Experiments (DOE)
- Plain-text file formats for live scripts and app-designer apps.
- GPU interoperability with CuPy, Tensorflow and PyTorch
- Google Sheet support

and more. I missed out all sorts of interesting things such as new algorithms for random number generation, sparse convolutions, improvements to ODE solvers including waypoint support, incremental machine learning...*hundreds* of updates.

Check out the release notes for full details but, for now, I hope you enjoy my tour over at The MATLAB Blog: https://blogs.mathworks.com/matlab/2026/10/01/a-look-at-some-of-whats-new-in-matlab-r2026b/


r/matlab • • 15d ago

Misc What is the right approach to teach engineering students about MATLAB in the era of AI? One prof made students to handwrite code so they can't use AI.

Post image
78 Upvotes

r/matlab • • 15d ago

Mathworks EDG Technical Phone Screen Advice

5 Upvotes

Hey yall, recently went to the career fair when I met the Mathworks representative. Applied online for the EDG role and a recruiter reached out for me to complete the coding challenge. I completed and now have a EDG Phone screen.

My worry is that I do not have much experience with software engineering / leetcode / data structures as I am an engineering major but have plenty of experience with Matlab/Simulink models. I did the 30 question matlab multiple choice section as well instead of the coding challenge. What can I expect for this technical phone screen and should I be working on coding challenges as I see online that sometimes they ask resume + live coding challenge?

Any advice is appreciated, Thanks!

Update: Phone screening went pretty well , the interviewer spent the first half of the time asking about my resume/projects and how I used Matlab/Simulink. The second half the of the interview was a small coding challenge on Matlab online which was based on looping through a vector and identifying whether a triplet was divisible by another variable. The interviewer then told me to test my solution with test cases and ask space/time complexity and ways to improve .


r/matlab • • 15d ago

Tips MATLAB for Robotics Simulation

Thumbnail
3 Upvotes

r/matlab • • 16d ago

Can't play audio

11 Upvotes

MATLAB can clearly read the file but when running, I get no sound. I've given it unlimited access to audio in Chrome and checked my audio settings, but I still get nothing.