ProgrammerHumor

matlabBadPost

matlabBadPost
https://i.redd.it/b3eyb0y0q8ef1.jpeg
Reddit

Discussion

you-should-learn-c

Something even worse happened to the Matlab license? Am I missing something?

6 hours ago
TobyWasBestSpiderMan OP
:py::cp:

It only really works well with itself --Someone who translates a lot of Matlab code to C++

6 hours ago
holyknight24601

Matlab is actually super easy to use in python

5 hours ago
goDie61

Great, that will be super handy if I need to do any data analysis in Python. Oh, wait.

4 hours ago
zawalimbooo

what am I missing

Data analysis is usually done in python

3 hours ago
goDie61

Exactly. Python already has a massive suite of data tools, so there's not much need for Matlab integration most of the time.

3 hours ago
zawalimbooo

Ahh I see, I see

3 hours ago
Mithycore

Yeah, that's kind of the point

3 hours ago
_Alpha-Delta_
:py::cp::c::asm::bash::snoo_trollface:

Probably because some madlad made a C++ wrapper to make python easier to use

3 hours ago
Laurent_Blanc

I tried that but did not succeed, do you have some pointers/resources for me?

4 hours ago
Not-the-best-name
:py:

Do not do it. Just use Python.

1 hour ago
Laurent_Blanc

Totally agree, but I am currently migrating a workflow from Matlab to Python and wanted to make the transition easier for some colleagues (so they can use their old Matlab scripts and can rewrite them one by one)

1 hour ago
Not-the-best-name
:py:

Yea man, you are telling me, our company probably spent a few hundred thousand dollars rewriting our MATLAB scripts into proper Python software. It's working well, now, a decade later. And we still have some legacy servers sitting there for if we need to run MATLAB again.

1 hour ago
tracernz

Embedded coder too expensive as well? 😭

1 hour ago
zoniss

Why don't you generate c++ code?

35 minutes ago
Regular_Comment_948

Matlab, or: Where you need a license to move the mouse pointer.

5 hours ago
VaryStaybullGeenyiss

Their biggest crime is not making it clear in online documentation if a function is part of a toolbox or not.

3 hours ago
the_flying_condor
:py::ftn:

So many times I have wasted time on this. It's insane that there isn't even an error message saying that the function you are trying to call is in a toolbox you don't have. For me it has always been some weird message implying that I am using the function incorrectly, rather than trying to use one I'm not permitted to use.

52 minutes ago
VaryStaybullGeenyiss

Hmm, I do at least usually get an error message that mentions a toolbox. Still super fucking annoying though since I'll have spent time reading documentation by the time I call the function.

32 minutes ago
Boris-Lip

Do people still use Matlab? And simulink?

6 hours ago
blending-tea
:py::gd::bash:

University classes 😩

6 hours ago
madTerminator

My university was using pirated version 😂

5 hours ago
TobyWasBestSpiderMan OP
:py::cp:

That’s pretty based haha

5 hours ago
machsmit
:py::rust:

way back in the day we either had a university license if we needed big-boy matlab, or the coursework was such that it could be done in octave

4 hours ago
CeleritasLucis
:j::py::rust:

Same. Professor even provided a gdrive link to download the specific version he was teaching with.

4 hours ago
madTerminator

We get pendrive to copy ;)

2 hours ago
BenjieWheeler
:cs::ts::j:

Same, mine was using everything pirated, Matlab, Solidworks, Autocad, and many more lol

2 hours ago
TobyWasBestSpiderMan OP
:py::cp:

Universities really need to kick the habit

5 hours ago
the_guy_who_answer69

Is this satire?

1 hour ago
TobyWasBestSpiderMan OP
:py::cp:

Haha, yes it is, wrote it making fun of the opioid settlement a few years ago

1 hour ago
Boris-Lip

I think last time i've seen it has indeed been in the college environment, but i did work with it in the real world at some point, intermittently.

5 hours ago
blending-tea
:py::gd::bash:

jokes aside I think it's well suited for DSP/waveform analysis but I dont work in that field so idk rly

5 hours ago
Boris-Lip

Last time i touched anything DSP was in college, i think. Or maybe not... What i do remember, everything neural networks related has been done on Matlab 20+ or so years ago, now - I don't think so.

5 hours ago
BrunoEye

Despite doing a lot of DSP I refuse to use it anyway because the licensing is so shit.

5 hours ago
Kobymaru376

Still? That was a thing back in my day, didn't think they would still do it these days.

2 hours ago
Dapper-Actuary-8503

They do though.

1 hour ago
thedefibulator

Everyone in the automotive industry

5 hours ago
mrdude05
:cp:

It really depends on the field. I work in RF/comms engineering and it's absolutely inescapable, but most of the engineers I know outside of my field never have to touch it

5 hours ago
CptanPanic

Aerospace does

4 hours ago
LJWacker

Yeah I work with implementing DSP algos on FPGAs and they have great tools for that

5 hours ago
gnomo-da-silva

use octave

4 hours ago
Owndampu
:m:

Yep unfortunatly, we do embedded development using simulink codegen at my work

4 hours ago
Izacundo1

Very big in aerospace

4 hours ago
in_taco

It's the dominating language in automation, like robotics and wind turbines. There's really no competitor when it comes to control implementation. Also the license cost is negligible compared to how much you save on implementation cost (engineering hours).

4 hours ago
crappleIcrap

Do you think when you left school people just stopped doing university math? Some of those old goats bring up Fortran daily and you expect them to change their lesson plans for what reason exactly?

4 hours ago
rockcanteverdie

Yes and it's actually really awesome for a lot of engineering stuff. Although I'm hoping that Julia will eventually grow to challenge it

3 hours ago
Aggravating_Stuff713

I get podcast ads about Matlab. It’s nostalgic.

4 hours ago
Dantzig

Know of one place, mainly due to the vast existing code base in matlab

3 hours ago
TobyWasBestSpiderMan OP
:py::cp:

Older engineers

5 hours ago
Boris-Lip

It was an incredibly powerful tool back at the times. But it did cost a fortune, and to me it feels everyone has abandoned it and most of what it could do has been slowly ported over to Python libs, and is 100% free to use. I:d fully expect Matlab to kick the bucket, TBH.

Side note - you can pretty much call me an "old engineer", i've been using it before, but that was well over 20 years ago.

5 hours ago
New_Enthusiasm9053

Still no good simulink replacement afaik. Base MATLAB isn't worth it but if you need one of the packages you don't have much of a choice.

5 hours ago
gameplayer55055

I remember rewriting some Fourier or wavelet stuff in C#, because python took several minutes to process data.

Too bad that there's no good science infrastructure in C#, I had to do many things manually, and Python has a really great ecosystem of ready to use libraries.

4 hours ago
Dapper-Actuary-8503

Python I’ve noticed is getting a lot quicker than what it was +10 years ago when I first learned it. I started using it again in the last 3 years heavily and it’s very capable especially in this respect. But that’s just my opinion and I don’t care for Python all that much.

53 minutes ago
gameplayer55055

Python definitely gets better. But it will never be faster than c++.

Python actually uses C++, but only for available libraries and functions. If you make custom algorithms it is slow. C# for loop is tons faster, and C++ for loop is even more fast. But I use C# because it has nice/safer threading and is cross platform.

15 minutes ago
Long_Plays

My lab mates use Octave now

5 hours ago
in_taco

Octave is good for research - not good for development

4 hours ago
the_guy_who_answer69

Okay, I am genuinely curious what is the use case of matlab in actual software development?

I mean what can matlab do in development that a normal opensource high level language can't.

I mean it's easy to use. I can't think of an idea why will anyone choose matlab instead of anything else....

1 hour ago
MrKirushko
:c:

Why not SciLab though? The language is the same but at least it has a Simulink replacement.

1 hour ago
PityUpvote
:py::rust:

All the downsides of MATLAB without any of the benefits

1 hour ago
Immudzen

I had a professor and he wanted to know why didn't research papers use MATLAB for machine learning since it was so easy to do. I had to explain and demonstrate how far behind MATLAB was compared to PyTorch. At this point, MATLAB is like a toy compared to Python for science and engineering.

4 hours ago
MortimerErnest

Depends on the kind of engineering, I work on DSP and it is still very heavily used. I try to use Python/numpy/scipy when possible, but there are not always great replacements available.

3 hours ago
the_guy_who_answer69

Octave

1 hour ago
in_taco

Can you test your code with a noisy sine wave input and check output in 30 s? Can you setup a template harness for serial testing of alarm handler files in a few minutes?

4 hours ago
Fair-Working4401

Ofc.

51 minutes ago
JammyJ1mJ1m

I had to use Matlab for one of my university assignments, it was to do with image processing / recognition. I hated everything about it. To Matlab: Kindly and unequivocally, fuck off.

5 hours ago
Scytheal

Completely agree. The only thing Matlab was good for - it cured my aversion of Python. Absolutely everything is better than Matlab. How can something be THIS bad and fucking expensive and still get used?

3 hours ago
maveric00

Don't know for scientific usage, but Simulink and the ability to autocode embedded software is hard to beat in the industry.

Although I would wish it would be.

2 hours ago
Scytheal

We had to use it "for historical reasons" aka they bought the licence and didn't have the time to change it to something else yet. At least it was only for one course.

2 hours ago
DomDomPop

But you were so close to a bunch of free shit!

3 hours ago
BlakLad

Any programming language that starts with index 1 should be excised from this planet

3 hours ago
TobyWasBestSpiderMan OP
:py::cp:

Unless it’s cool like Julia which can index however ya want

3 hours ago
new_number_one

Haven’t heard Julia in years. Do people actually use it?

3 hours ago
TobyWasBestSpiderMan OP
:py::cp:

I know one engineer personally, otherwise nah

3 hours ago
ChemiCalChems

Well you can just write a custom container in pretty much any language, just like what that example does, so this isn't really Julia specific, is it?

1 hour ago
wavefunctionp
:js::cs:

That seems even worse.

1 hour ago
drumDev29

It is, it's actively bad you now have zero confidence in any array that some jackass didn't give it a wild ass index

17 minutes ago
jpritcha3-14
:py:

MatLab is not a bad language/environment, it's just highly application specific. Outside of some extremely niche engineering applications, python is generally the better and easier choice (and it's always cheaper). Between matplotlib and numpy, most of MatLab's more broadly useful features are available in Python.

Also, MatLab is taught in a lot of EE degrees so there are lots of very poorly written MatLab scripts floating around. I say this as a former EE who has transitioned to software and now ports very messy EE MatLab scripts to python for my company 🤣

1 hour ago
Lechowski

Have you tried developing in ABAP? You need to purchase a separate license for the Runtime, the Language Server and the IDE

1 hour ago
khalcyon2011

Use gnu octave. Open source and near one-to-one compatibility with matlab.

4 hours ago
AntiProton-
:py: :kt: :p: :sloth:

Matlab <<< Julia

1 hour ago
Stunning_Ride_220

I loved using it

21 minutes ago
anthro28

Bask in the warm glow of Octave superiority. 

If it's good enough for my numerical methods instructor and her bajillion dollar research, it's good enough for me. 

3 hours ago