Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Writeable did not match any valid parameter of the parser

1 view (last 30 days)
Muaaman
Muaaman on 16 Dec 2014
Closed: Muaaman on 16 Dec 2014
In the GUIDE GUI.m file, I have a screen where I need to define a cell array variable that needs to be updated (add +1 to one of its elements) depending on which choice the user selects.
A code like this:
filename = 'participants.mat';
m = matfile(filename,'Writeable',isWriteable);
participantData = m.participantData;
Is giving me this error:
Error using matlab.io.MatFile (line 397)
Argument 'Writeable' did not match any valid parameter of the parser
I placed this in the OpeningFcn of the GUIDE GUI.
Input would be greatly appreciated.
  1 Comment
Muaaman
Muaaman on 16 Dec 2014
Resolved: the problem here I believe was it is not suppose to be 'Writeable' but rather 'Writable', and it should say 'true' instead of 'isWriteable'.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!