LabView vs Matlab/Simulink: A Comparison of Capabilities and Performance

  • Context: MATLAB 
  • Thread starter Thread starter swraman
  • Start date Start date
Click For Summary

Discussion Overview

The discussion centers on comparing LabVIEW and Simulink, focusing on their capabilities, performance, and primary uses in various applications such as data processing, control systems, and hardware interfacing. Participants explore their experiences and preferences regarding both software tools.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • Some participants note that LabVIEW is primarily used for interfacing with external hardware, while Simulink is focused on designing and simulating control and signal processing systems.
  • One participant expresses that LabVIEW seems to perform similar functions to Simulink but experiences slower performance and reliability issues, particularly on older systems.
  • Another participant describes their extensive use of Simulink for modeling feedback systems and image processing, highlighting its graphical capabilities and integration with MATLAB.
  • Some participants mention that both LabVIEW and Simulink can accomplish similar tasks, but each has strengths in different areas, suggesting that user preference plays a significant role in choosing between them.
  • One participant points out that MATLAB can be called from within LabVIEW, indicating a potential for interoperability between the two platforms.
  • Concerns are raised about the reliability of LabVIEW, with experiences shared about crashes on older systems, leading to a perception of it being less reliable than MATLAB.
  • Participants discuss specific tasks they performed in both environments, noting differences in execution speed and ease of use.

Areas of Agreement / Disagreement

Participants generally agree that LabVIEW and Simulink serve different primary purposes but express differing opinions on performance, reliability, and user experience. There is no consensus on which tool is superior, as preferences vary based on individual experiences and specific use cases.

Contextual Notes

Some limitations are noted regarding the performance of LabVIEW on older systems, and there are unresolved questions about the specific contexts in which each software excels. The discussion reflects a range of experiences and opinions without definitive conclusions.

swraman
Messages
165
Reaction score
0
I haven't used Labview enough to know everything it can do, or even what it is mainly used for (used it in only one class).

What is LabView mainly used for? is it comparable to Simulink, or are they meant to do different things?

Which do you prefer to use?
 
Physics news on Phys.org
They are two very different things. Labview is mostly used as a software interface for external hardware. Matlab is mostly used for data processing and simulations although it can control external hardware like Labview can as well.
 
Actually I am referring to Simulink (and not Matlab) vs Labview, I rialize that Matlab and Labview are used for different things.

Its just that from my limited use with Labview, it seems like it does the same sort of thing that Simulink does, only slower, a much poorer UI, the weirdest saving system I've ever seen, and best of all random crashing.

are they meant for different things?
 
Simulink is used for designing, modelling and simulating control systems and signal processing systems. For instance, one of the uses I've had for it over the years was using it to model a feedback system for servo control of a DC motor, and comparing it to my actual results. You can create systems graphically and then use M files to communicate/interact with them. Some of my colleagues use it for image processing and waveform analysis of sound waves.

LabVIEW is a lot more general. It's a graphical object orientated programming language which allows you to rapidly build 'instruments' that can do a range of things. As I understand it evolved primarily from data acquisition and hardware interfacing, but can do a variety of different things. My first virtual instruments were built to acquire data from a hot wire anemometer and apply a variety of statistical analyses to them. Subsequently I've learned a lot more about it and currently use it for acquiring and analysing load-time and acceleration-time traces. One such example was developed into a standalone test program for a client. Another area I'm looking at with it is image acquisition and analysis via high speed camera systems.

As for reliability, the only troubles I've ever really had with LabVIEW were migrating from an XP system to Vista (don't ask, worst decision my employer at the time ever made) but were soon resolved with subsequent compatible versions. The UI is pretty intuitive, and speed and crashing issues are usually strongly related to programmer choices. I would hazard a guess as to you probably learning from an older version on an old machine though.

At the end of the day, it comes down to a user preference - you can do many of the same things in both packages, some better in one and some better in the other.
 
You can also call MATLAB (and by extension, Simulink) from within LabView. If you (purchase and) install the LabView Math Interface Toolbox for MATLAB, you can do it the other way around, as well:
http://zone.ni.com/devzone/cda/tut/p/id/2716
 
Last edited by a moderator:
Thanks Timmay. Your explinatiopn helped a bit :)

So you can do a lot of similar things in both.

I did use LABView on fairly old systems, but it just crashed a lot, and for seemingly no reason. And not only for me, for everyone in my lab. They were fairly onld computers though, P4 class I believe, and LabVIEW 8.5, 8.6 was the latest at the time.

The reason I am unclear as to the differences between the 2 is because last semester I took a signals class, and we used LABView to do various things such as image processing, filtering, and frequency graphing. This semester I am takinga controls class, and we use Simulink to design control Systems, but I still see a lot of the same blocks we used in LABView in Simulink

And as far as the speed thing goes. We had to create a simple image filter, probably a blurr or b/w filter or something. I made mine in Matlab first, since I was already farmiliar with it, and it worked gret; tehn I modded it slightly to run in LABView, and it took a lot longer to run...Matlab took around a tenth of a second, while LABView ran for about 10-15 seconds.

The impressions I get from LABView are that its slower and less reliable than Matlab, and I feel like there's no reason to choose it over Matlab unless it is for a specific toolbox that LABView has and Matlab doesnt.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
1
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K