Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Matlab "scopes"

Status
Not open for further replies.

Styx

Active Member
does anyone know of any replacement for the scopes in Matlab:Simulink

every time I run simulink and really have to look at some waveforms I get really annoyed at the complete "noddy-ness" of the scopes (concidering the plot function from matlab is soo good)

if you slightly zoom in with the scopes the actual time axis won't actually show any increments (anything lower then 4decimal places gets rounded)
no measuremement tools (the SABER plots are very good for this)
no way to set the colours of plots (or even a legend to show what port is what colour)

is there any replacement?
I know I could export to the workspace and plot from there (which I do for detailed plots), but for a quick look-see the scopes are convinient but just crap
 
When you work with waveforms you may use the program CoolEdit to see the waveform. It is easy to use and very helpful. :)
 
You can save the signal you're scoping as .wav file and use wavread in matlab. Its not as simple to use as the simulink one because you have to use a little sense to set it up. IE sampling rate, and if you choose to do an FFT you'll have to do a little extra work there as well.

But just command line matlab will work just fine. It will do everything you need if you're aware of what the functions you need.

OH and it won't be "real time." In some cases that might matter, but I'd think in most cases it won't. Other than if you're making a lot of changes on the fly it'll be pretty annoying.

There are also a lot of free oscilloscope programs as well.

And just to comment on anything below 4 decimal places getting rounded: Yes it'll be rounded, your sound card doesn't support that type of time resolution its limited to something like 44khz sampling rate, if you want anything higher you'll have to buy a digitizer.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top