.m file turning into binary file after performing save command in MATLAB online workbench

2 views (last 30 days)
Hi guys,
When I'm editing any matlab script (.m file) and then performing save to that file, it is saving in this format:
ErrorSavingMFile.png
commands:
>> edit anyFile.m
After editing any line:
>> save anyFile.m
any workarounds? (I'm new to this).

Accepted Answer

Image Analyst
Image Analyst on 30 Mar 2019
Don't do the save because that saves the m file as a binary .mat format file.
To save the file, just
  1. click on the save icon on the tool ribbon, or
  2. type control-s, or
  3. just click on another tab (another m-file you're editing) and it will probably save it automatically.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!