Uiimport undefined variable error

4 views (last 30 days)
Marcin Sinczuk
Marcin Sinczuk on 27 May 2015
Commented: Walter Roberson on 2 Jun 2015
When using uiimport(-'file') on matlab 2013b it gives me an error:
_ "Undefined variable "multimedia" or class "multimedia.internal.audio.file.PluginManager.getInstance.ReadableFileTypes".
Error in internal.matlab.importtool.ImportableFileExtension>localAudioExtn (line 90) fileExtTmp = multimedia.internal.audio.file.PluginManager.getInstance.ReadableFileTypes;
Error in internal.matlab.importtool.ImportableFileExtension>importToolRecognizableFileDropdownInfo (line 147) dropdownList = {getString(message('MATLAB:codetools:uiimport:AudioFormatStr')),localAudioExtn(true);...
Error in internal.matlab.importtool.ImportableFileExtension.getImportToolFileChooserDropDownInfo (line 71) [fileExtnDesc, fileExtList] = importToolRecognizableFileDropdownInfo;
Error in uiimport (line 141) [fileExtDesc, fileExtList] = ImportableFileExtension.getImportToolFileChooserDropDownInfo;"_
On other computers in my lab uiimport works great.
  1 Comment
Walter Roberson
Walter Roberson on 2 Jun 2015
Is it an audio file that you are attempting to import?

Sign in to comment.

Answers (1)

Pritesh Shah
Pritesh Shah on 27 May 2015
Check file location. Easy, put that file in current folder of MATLAB.
  1 Comment
Marcin Sinczuk
Marcin Sinczuk on 31 May 2015
But which file? You mean "uiimport.m"?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!