MCC support for MatLab 2014a

In following site:
is stated:
MATLAB R2015b and prior
Measurement Computing data acquisition hardware is supported only by the Legacy interface (analoginput, analogoutput, digitalio) in 32-bit MATLAB installations.
So, MCC harware should be supported by matlab of earlier versions, but on site:
stated that MCC hardware is supported only starting from matlab 2017a.
I'm using Matlab 2014a and I need to obtain at least 4 channels from MCC produced unit PMD-1208FS.
Please, where I can download corresponding hardware support package?
MCC support package, downloaded from
is not compatible with my matlab version and can't be installed.
Thanks for help

 Accepted Answer

Thank you Walter for your reply and advises.
Second reference contains attached mwmcc.ini file. My device PMD-1208FS is listed inside, it is connected and passed all working tests. I did all recommended operation, replacing previous mwmcc.ini version.
Nevertheless, after all of such replacing, including
rehash toolboxcache
command I have message after following command:
ai = analoginput('mcc',0);
Error using analoginput (line 142)
Failure to find requested data acquisition device: mcc.
As well, after
daq.getVendors
command I didn't see mcc in the list. It contains only directsound (true) and ni (false) positions. Before replacing mwmcc.ini list was the same.
What is the point?
And additional question, supposing mcc device will be found and works correctly, will I have possibility to measure 4 independent channels, like I did this with two sound cards and previouos matlab version? Otherwise this activity has no sense.

9 Comments

I do not know about channel limitations.
In the time-frame you are discussing, Hardware Support packages had not yet been invented.
Thanks Walter for help
>I do not know about channel limitations.
I have 2 sound cards in computer, all of them are visible by matlab:
daq.getDevices
1 directsound Audio0 DirectSound Primary Sound Capture Driver
2 directsound Audio1 DirectSound Line In (Sound Blaster Audigy Fx)
3 directsound Audio2 DirectSound Microphone (SoundMAX Integrated Digital HD Audio)
4 directsound Audio3 DirectSound Rear Input (SoundMAX Integrated Digital HD Audio)
5 directsound Audio4 DirectSound Primary Sound Driver
6 directsound Audio5 DirectSound Speakers (SoundMAX Integrated Digital HD Audio)
But I can use only two channels, it is stated somewhere in documentation. This limitation is reason why I must to buy MCC PMD-1208FS. Unfortunately, it is not accessible now for matlab.
>The configuration is briefly described at https://www.mathworks.com/matlabcentral/answers/269932-matlab-2015a-32-bit-doesn-t-identify-mcc-daq-boards-with-usb-1208fs-plus#comment_346494
Thanks you. According recomendations of this post, I run matlab as administrator. As result, list of vendors still didn't contains mcc vendor. By the way, how MCC can be introduced, presented inserted to such list?
But now command
ai = analoginput('mcc',0);
sends another message: "Error using analoginput (line 142) MCC: Cannot find CB.CFG file."
Do you have idea, where I can find this file? I did not find it in matlab folders.
OK, I have found this CB.CFG file. This is the MCC configuration file, it is placed in
C:\ProgramData\Measurement Computing\DAQ\cb.cfg
Where I should place it, so matlab can find it? Add it to matlab's path? Should it be only one such file or it should be its another copy?
Sorry, I do not know.
You could probably do a process trace to find out where it is looking for the file. See https://stackoverflow.com/questions/3267326/how-to-trace-all-files-opened-by-a-process-and-its-child-processes
Dear Walter
I appreciate a lot your kind and efficient help. Finally it works, thank you very much.
For future reference, what did you end up having to do ?
Valeriy
Valeriy on 30 Jan 2019
Edited: Valeriy on 30 Jan 2019
OK, I did a lot of different movements and I don't know which of them is key point? A summary of my attempts is following
- What I know now, commands
daq.getDevices
daq.getVendors
are useless. I spend a lot of time trying to insert such device or vendor into these lists. Right now they don't list any MCC device or vendor, while this device is working correctly.
- To use MCC device its driver must be installed. According recommendation of MCC staff it is better to use not current version of InstaCal, but one of previous, which came out in April of 2014 and can be found in
I don't know, is this recommendation valid for other MCC devices?
- CB.CFG file, this is the MCC configuration file, it must be placed in
C:\ProgramData\Measurement Computing\DAQ\cb.cfg
It have to be only one of such file into computer, it is necessary rename other copies of this file.
- I have exchanged section of mwmcc.ini file deals with PMD-1208FS by one, proposed in
But, I have found several similar proposals and have modified several times this section, so right now I don't know what version is final.
Thank you for the summary. It might help someone else in the future.

Sign in to comment.

More Answers (2)

Walter Roberson
Walter Roberson on 21 Jan 2019
There was no hardware support package; you just interfaced through the Data Acquisition Toolbox (Legacy) interface.
Valeriy
Valeriy on 22 Jan 2019
While continuing my attempts to fix problem, I have exchanged section of mwmcc.ini file deals with PMD-1208FS by one, proposed in
Unfortunately, result is still negative: no MCC vendor in vendors list, the same
Error using analoginput (line 142)
Failure to find requested data acquisition device: mcc.

Categories

Products

Release

R2014a

Asked:

on 21 Jan 2019

Edited:

on 30 Jan 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!