Programming languages in engineering

Post here information about your own engineering projects, including but not limited to building your own car or designing a virtual car through CAD.

Your preferred environment?

Matlab
17
55%
Some flavor of C (C++, C#, etc)
9
29%
Python
1
3%
Modelica
0
No votes
Java
2
6%
VB
0
No votes
Fortran
0
No votes
Other
2
6%
 
Total votes: 31

rjsa
51
Joined: 02 Mar 2007, 03:01

Re: Programming languages in engineering

Post

C# syntax is damn easy and Visual studio makes it really easy on I/O and UI. When you move forward enough to feel the performance loss of managed code you can always compile the hardcore coding in a C++ dll and keep C# for the cosmetic layer.

C# also makes a pretty seamless jump to Java, and the way around.

No experience with Fortran,

Jersey Tom
166
Joined: 29 May 2006, 20:49
Location: Huntersville, NC

Re: Programming languages in engineering

Post

Caito wrote:Voted MatLab, but I really prefer simulink. I'm finishing my Electronic Engineer degree, specialized in mecahtronics. Simulink is really cool to design control systems.
Simulink is indeed very nice for drawing up (literally!) systems. However.. and I haven't used it in some time.. for as relatively slow as "written" MATLAB is, I've always been under the impression that Simulink is far slower. Perhaps that's a myth, I've never benchmarked it.
Grip is a four letter word. All opinions are my own and not those of current or previous employers.

RideRate
7
Joined: 02 Jun 2009, 19:49

Re: Programming languages in engineering

Post

Big time matlab for me including simulink for the big complex applications. I'm always big on quick m-files for performing tasks, organizing data, and performing analysis. The broad spectrum of tools and compatibility is what makes matlab an absolute must have.

C would be #2 for me and I use it for my simpler embedded applications and controls.

I try not to use anything else but forced into VB on occassion.

DaveW
239
Joined: 14 Apr 2009, 12:27

Re: Programming languages in engineering

Post

I'm surprised that nobody has mentioned Scilab as the free, multi-platform alternative to Matlab.

For engineering work, "SourceForge" is a comprehensive resource.

Cold Fussion
93
Joined: 19 Dec 2010, 04:51

Re: Programming languages in engineering

Post

What's everyones complain with matlab's text file handling? From my time with matlab and c++, building text file parsers in matlab has been no more obtuse than I remember it being in c++, although my experience with c++ was limited to first year computer science.

Greg Locock
233
Joined: 30 Jun 2012, 00:48

Re: Programming languages in engineering

Post

It is usable so long as you use eval. eval is great. eval is wonderful. eval is too bloody dangerous by half.

Cold Fussion
93
Joined: 19 Dec 2010, 04:51

Re: Programming languages in engineering

Post

My personal opinion though is that at some point, you're pushing the boundaries of what matlab is good for. I view matlab (excluding simulink) as good for evaluation small data that easily imported that can operations can be applied on. Once you start getting into heavy I/O, I think you should really consider a proper programming language more adapt than matlab. My opinion is that I'd use matlab anywhere I would consider using excel, as it is easy to create something very quickly, and your data is properly sanboxed from your operations, where as in excel it isn't. I personally struggle to see the advantages of excel, other than it being effectively free.

Jersey Tom
166
Joined: 29 May 2006, 20:49
Location: Huntersville, NC

Re: Programming languages in engineering

Post

Cold Fussion wrote:What's everyones complain with matlab's text file handling? From my time with matlab and c++, building text file parsers in matlab has been no more obtuse than I remember it being in c++, although my experience with c++ was limited to first year computer science.
C# and .NET really make file IO very easy, IMO.
Grip is a four letter word. All opinions are my own and not those of current or previous employers.