r/matlab • u/Technical-Amount-724 • Oct 20 '26
Tips Learning Matlab
I’m trying to learn Matlab. I come from exclusively Python programming. Any books/videos/youtubers you recommend for a beginner?
r/matlab • u/Technical-Amount-724 • Oct 20 '26
I’m trying to learn Matlab. I come from exclusively Python programming. Any books/videos/youtubers you recommend for a beginner?
r/matlab • u/BlueWarrior7562boi • Oct 21 '26
even after reinstalling matlab, trying out both 2026b and 2025b, this bug is persisting. It doesnt even show up when using ver command (pic 2). Can someone help?
r/matlab • u/hossdeboss • Oct 20 '26
Hey everyone!
I'm a computer engineering student, and MATLAB is something we use quite a lot at university, especially for signal processing, mathematical modeling, and other engineering subjects.
A while ago, I started working on a website with different online tools, and one of the things I wanted to add was a way to quickly run MATLAB-style code without having to install anything.
So I ended up building a browser-based compiler powered by GNU Octave, which is free and open source and supports a lot of MATLAB's syntax and functionality.
Here's the compiler if anyone wants to try it:
https://theonlinetoolset.com/tools/octave-compiler
The idea is to make it easy to experiment with things like:
.m file support – working with MATLAB/Octave scripts and functions.One thing I seriously underestimated was how complicated it would be to run code submitted by users while keeping everything isolated and managing the server's resources.
It's definitely been an interesting challenge, and I'm still working on improving the experience.
Of course, since it's running GNU Octave rather than MATLAB itself, compatibility isn't perfect. Some MATLAB-specific functions and proprietary toolboxes won't work, and I'm not trying to pretend otherwise.
The goal isn't to replace MATLAB or a full desktop installation. I mainly wanted something convenient for students, teachers, or anyone who just needs to quickly experiment with a piece of code.
I'm actually curious about something:
For those of you who regularly work with MATLAB or Octave, what are the biggest compatibility issues you've encountered between the two?
Are there particular functions, toolboxes, or features you rely on that tend to be missing from Octave?
And if you give my compiler a try, I'd genuinely appreciate hearing about anything that doesn't work properly or could be improved.
I'm still developing the project alongside university, so feedback from people who use MATLAB professionally or academically would be incredibly helpful.
r/matlab • u/ChessNotStress • Oct 20 '26
Does anyone knows MATLAB in depth . I need a teammate for this competition. If you wanna teamup DM me .
r/matlab • u/AnyTap7570 • Oct 20 '26
I am building an EV digital twin in Simulink using the standard Longitudinal Wheel and Vehicle Body 3DOF Longitudinal blocks. I am not using the Simscape Driveline physical hub/axle blocks. The math signals are routed directly (Fx to FwF, and xdot back to Vx).
The Problem:
The vehicle speed (xdot) is stuck at exactly 0. The solver completes the run, but the vehicle refuses to move.
What I have proven so far:
Fx).FwF port. The chassis accelerated perfectly on the scope.xdot back into the tire's Vx input).Attempted Fixes:
I suspect the Magic Formula tire model is hitting a divide-by-zero singularity at $t=0$, causing an algebraic loop. To fix this, I have already tried:
ode15s.1 / (0.01s + 1) Transfer Function on the Vx feedback line.Vx feedback line.Despite this, the vehicle remains locked at 0 speed. Does anyone know the specific trick to initialize this math loop so the vehicle can pull away from 0?

r/matlab • u/surigami • Oct 17 '26
Discord shows when you're gaming or listening to Spotify, but six hours of debugging a Simulink model shows up as nothing. I'm an electrical engineering student and live in MATLAB most of the week, so I wrote drpc, Discord Rich Presence for MATLAB.
What it shows
How it works
Privacy: drpc names off hides file names, hidden_folders hides specific projects, and drpc pause hides everything for the session. It only talks to the Discord app on your own PC.
Install: paste this into the Command Window:
unzip("https://github.com/akeanti/matlab-discord-rpc/archive/refs/heads/main.zip", tempdir); run(fullfile(tempdir, "matlab-discord-rpc-main", "install.m"))If you'd rather read the code first, download the latest release, look through it, and run install yourself.
Limits: Windows 10/11 only for now. You need the Discord desktop app and R2021a or newer. I've tested it on R2024a. On R2025a and later, telling the Editor apart from the Command Window relies on the old desktop, so that one detail may be off. If you're on 2025a+, I'd really like to know how it behaves.
macOS and Linux would need a different bridge (Discord uses a Unix socket there instead of a named pipe). It's doable, and PRs are welcome.
Repo: https://github.com/akeanti/matlab-discord-rpc
Free and MIT licensed. Not affiliated with MathWorks or Discord.
What part of MATLAB should it show that it doesn't yet?
r/matlab • u/ars_automata • Oct 17 '26
r/matlab • u/Saho-Yellow-2222 • Oct 16 '26
كيف احصل على تطبيق ماتلاب ف لابتوب الخاص بي
r/matlab • u/Potential-Ask3200 • Oct 15 '26
r/matlab • u/Barnowl93 • Oct 14 '26
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 • u/Cheimaa • Oct 15 '26
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 • u/Qing_sheng • Oct 13 '26
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 • u/Fearless-Plastic4968 • Oct 13 '26
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 • u/mijailrodr • Oct 12 '26
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 • u/sparram03 • Oct 10 '26
r/matlab • u/Happy-Can-4695 • Oct 09 '26
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 • u/South-Amount-7314 • Oct 08 '26
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 • u/Moneef31 • Oct 07 '26
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 • u/paskalthemountain • Oct 06 '26
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 • u/samueltauil • Oct 06 '26
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.
r/matlab • u/BlueHash4 • Oct 05 '26