I purchased matlab license 2 days ago and coming from a Python background, language similarities seems to be a smooth transition. However, there are a few things that I find missing at this point in the editor, perhaps someone could advise me on the following points:
- How to enable indenting in command window as well just like how we can enable it for the editor.
- How does 'path' work? It seems to be defaulted at Documents/MATLAB/. How do you organize and manage your project files from this point on?
- How do you configure your matlab code in such a way that for example, I want to reformat my code with whitespace around any operator or a whitespace before any keyword. For example the two lines of code below have an imbalanced whitespace distribution. This irks me. I want a neat code. Is there a way to do this w/o depending on external (3rd party) scripts or functions
%impropper whitespace balance befor/after operator
fidRead= fopen(fileName,'r');fidWrite =fopen(bufferFile,'w');%space before keyword
tline = fgetl(fidRead);%no space before keyword
tline =fgetl(fidRead);
At this point I believe MathWorks is undergoing some technical issue with their servers, one cannot play any video tutorials on their website.
Best Answer