MATLAB Answers

What frustrates you about MATLAB?

942 views (last 30 days)
Oliver Woodford
Oliver Woodford on 16 Feb 2011
Answered: cui on 11 Jul 2020 at 4:02
I love MATLAB. It is so quick and easy to write software to do what you want. It has excellent debugging and profiling tools. It is cross platform, making code easy to share (assuming the other people have forked out for the not-so-cheap license). It has interfaces to other software.
However, there are some things about it that irk me. I'd like to hear from other people what things annoy them about MATLAB.
---------------------------------
Because this thread has become so large it is slow to load and navigate. Please post new answers in the second thread.
---------------------------------

  35 Comments

Sky Trader
Sky Trader on 21 May 2020
I tell you what irks me about Matlab: Everything. It is beyond doubt the most user unfriendly software I have ever used. The most simple tasks that you can do in other software, like importing data (used to be easy, not they've changed something and I can't even get apps to work on xls. data anymore), or installing an app is LIKE PULLING TEETH. Today I "simply" went to install an app I downloaded from there. But it's greyed out when you try and select it..... Then the "help" method suggested was to " Select "Add-Ons", and check that the Add-Ons install folder is writable." Of course there is no preference in "Add ons" that gives you this option. Typical....
Use Python, Use R, Use anytthing but this Matlabs app.
#BeyondFrustrating
Adam Danz
Adam Danz on 21 May 2020
@Sky, I feel your frustration. I commonly experience that during the early stages of learning new software. Having used Matlab, Python, and R, I think the gap between Python and Matlab is small. I'd bet that it takes less than 10 weeks of jumping into one after being familiar with the other before comfort levels start to match. R is another story and is least intuitive IMO. Another strength of Matlab is the documentation which is well formatted and largely consistent across all toolboxes. Once you learn how the documentation is organized, I find it very easy and quick to find what I'm looking for. Lastly, the community here is very helpful and if you can't find an answer to your questions in the forum, people are eager to answer new questions.
Walter Roberson
Walter Roberson on 21 May 2020
The recent changes that I know of with regards to importing xls data:
  1. A few releases ago, uiimport() started importing text as string() data type by default instead of character vector. The user has control over this in the tool.
  2. As of R2020a, readtable() and related functions now do an internal detectImportOptions() by default, which does a more thorough analysis and can result in different variable types, or can result in prefixes and suffixes automatically being detected. For example a field with a leading $ would previously have been considered to be a character vector, but now the $ might be treated as a prefix to be removed and the number imported as numeric. There is an option to turn off the default detection.
  3. Importing of time and duration data has been improved over the last several releases; in particular a field such as '13:42' would previously have been imported as character vector but would now be imported as duration. There is an option to control that.

Sign in to comment.

Answers (155)

Oliver Woodford
Oliver Woodford on 16 Feb 2011
MATLAB's figure rendering and exporting functions are so full of bugs and "features" it defies belief. The rendering is very slow and stalls computations - rendering should be in a separate thread and not delay computations (unless specified by the user). It is crazy that you can't have a seperate colormap per axes, either.

  9 Comments

Show 6 older comments
Oliver Woodford
Oliver Woodford on 13 Apr 2015
@Steven: The issues raised here were rendering speed and bugs, not what can be rendered. I also disagree with your comment about being able to get any result you want. Volumetric rendering is non-existent, and solutions like vol3d don't look great. Also it is not possible to texturemap an arbitrary mesh, and the work-around of vertex coloring a much higher resolution mesh is beyond the scope of knowing how to use set and get.
Oliver Woodford
Oliver Woodford on 13 Apr 2015
As of R2014b, you can have a separate colormap per axes.
Tayyip Ensar Özkaya
Tayyip Ensar Özkaya on 14 Jun 2020
The 3D control of pointclouds is just the hell!!

Sign in to comment.


Ian
Ian on 28 Mar 2011
  • GUIDE is a such an underpowered mess. Very poor set of widgets, endless bugs and terrible performance in the Guide editor (try moving sets of elements with the keyboard and weep!). TMW has dragged along hidden support of more UI widgets likes tabs, why can't they just update GUIDE and bring it.them into the modern age? Yair Altman does more in one blog post than TMW does in each year's paired releases to make GUIs better in Matlab!
  • UNICODE support -- why is TMW so far behind on this!?
  • Graphics quality -- graphics and text should be anti aliased by default and better composited, the pixel vomit is unacceptable on such an expensive product and one where its competitors are so ahead in this regard.
  • Poor OS X support. Failure to copy vector figures to clipboard is my biggest gripe.

  8 Comments

Show 5 older comments
Michelle Hirsch
Michelle Hirsch on 31 Aug 2015
The new graphics system in 14b is a good start - added uitab/uitabgroup and anti-aliased graphics (among many, many other enhancements).
MATLAB has made tremendous progress in Unicode support since 2011, so take a look again if you haven't lately.
Eng. Fredius Magige
Eng. Fredius Magige on 28 Jun 2017
The Matlab is fantastic tool to me. It do a lots as long as you known what are your input and expected out. I, indeed, finalizing coding Water Distribution Network Design Optimization tool, as it has no limit of number of pipes from different materials and pressure rates. This a major challenge to many optimization tools. Further, Matlab has assist me to plot and lay out XYZ of all networks.
The major challenge I have been faced is consume a lot of time when apply/looping through "for-end" which I have no way to escape it
Thanks all Matlab Community
Walter Roberson
Walter Roberson on 28 Jun 2017
Note: Unicode support in plots was added in R2014b. However, there is no obvious way to add Unicode in Latex.
Note: anti-aliasing of lines and text was added in HG2.

Sign in to comment.


Jan
Jan on 16 Feb 2011
Using a C-compiler not included in the list of known compilers is horrible. "mex -setup" calls an M-file, which calls a PERL script, which creates a DOS batch file, which is interpreted by another PERL script, which calls the compiler through the command line interface.
Strange. A tiny M-file could create the same command line call to the compiler also. But it would be much easier to adjust it to a different compiler.

  6 Comments

Show 3 older comments
Walter Roberson
Walter Roberson on 10 Aug 2015
The method of setting up compilers was completely rewritten a couple of releases ago, at least for MS Windows. I do not know if it is any better or worse... but quite different.
dpb
dpb on 13 Nov 2018
At least as convoluted still and nearly impossible to make use of anything other than the one or two "blessed" compilers --
Praveen Kumar
Praveen Kumar on 24 Jun 2019
I had two subsystems(A and B). I want B inports which are conncected to which outports in A. Any ideas.

Sign in to comment.


Oliver Woodford
Oliver Woodford on 16 Feb 2011
It's very expensive (unless you're a student), especially if you use lots of toolboxes. Fortunately my company pays :), but if I start my own company I'll think twice about (ok, before) buying MATLAB.

  16 Comments

Walter Roberson
Walter Roberson on 31 May 2017
I see people posting complaining that the Home version does not support HDL generation for boards that are $US1100 to $US33000.
Asif
Asif on 23 Oct 2019
It doesn't make sense how the Home and Student licenses are not eligible to purchase the HDL coder and HDL verifier add-ons. Students and hobbiests would easily use these for FPGA and embedded projects.
Supported boards include Digilent's low-cost sub $250 options. If the HDL add-ons were available and priced similarly, I'd gladly fork over more money to Mathworks :).
Chris van Halewyn
Chris van Halewyn on 6 May 2020
Yep. Me too! I've got a Nexys4 board (£200 -not $33,000!) that I got because it is recommended for education/training and got Vivado (free) to program it. Vivado calls out for Matlab HDL tools on installation but they are not available under the home licence which would have been so cool...
Matlab, please sort out home licensing for HDL tools. It's time.

Sign in to comment.


David Young
David Young on 28 Sep 2011
Overriding subsref and subsasgn in a class is spectacularly awkward.
The problem is this. Suppose you override subsref in order to change behaviour of obj(...). Then your subsref is also called for the syntax obj.propname. In order for it to handle this correctly (i.e. behave the same as the built-in subsref) it has to reimplement all the checks for access protections that are normally done by the system. For just how problematic this is, look at Daniel's answer to my question here.
Apart from this major difficulty, it's also inefficient for every subsref to have to switch on the indexing type ('.', '()', or '{}') on every call, and for the system to have to build a struct that includes the indexing type as well as the indexes.
As far as I can see, it would be so much better if the different indexing syntaxes called three different methods.

  3 Comments

Daniel Shub
Daniel Shub on 28 Sep 2011
Wait until you try and get your overloaded subsref function to handle colon and the other "odd" indexing notation: http://www.mathworks.com/matlabcentral/answers/6764-overloading-subsref
You would have thought that with the major overhaul of the OO system that they would have gotten it much better. Often simple OO things are inefficient and complex things are near impossible.
David Young
David Young on 28 Sep 2011
Daniel: indeed!
SK
SK on 30 Apr 2014
Agree. subsref and subsassign are unusable and can be fairly called broken in principle. Also, once you have overloaded () for a class, you can no longer have consistent notation for arrays of that class type. The basic reason is the overuse of the () operator for array subscripting, instead of the more sane [].

Sign in to comment.


Robert Cumming
Robert Cumming on 16 Feb 2011
plot legends are not always placed in the "best" position - quite often its right slap bang on top of the data...

  2 Comments

Dan
Dan on 22 Nov 2011
You can click on them (the legend) and move to another spot (even outside the axes). Also you can position the legend as an object at creation time or after by asiging to a variable and using "set".
Matt J
Matt J on 13 Nov 2018
You can, but shouldn't the default legend position be somewhere not covering data?

Sign in to comment.


Dan
Dan on 2 May 2017
Functions and classes defined within a package should not have to import the package or refer to other members of the package with the package name ... the import should be automatic ...
Given the requirement to refer to the local package name within the class or function definitions ...
  • It is difficult to rename the package
  • It is difficult to place the package within another package
  • It clutters up the function and class code with import calls ...
Please fix...

  0 Comments

Sign in to comment.


Sean
Sean on 27 Sep 2011
I would love to just write x++; instead of x = x + 1;

  6 Comments

Show 3 older comments
Andrew Reibold
Andrew Reibold on 26 Sep 2014
If this is your biggest issue with the software, I'm very happy for you :)
jaya viMALA
jaya viMALA on 12 Apr 2019
Yes Me too, in Starting i am Confusion on thsi x++, Y--. that's why i try to use it may time. I am use this only.
Regards,
Adam
Adam on 12 Apr 2019
Please don't use Matlab Answers for advertising links. I deleted the link you added here.

Sign in to comment.


Oliver Woodford
Oliver Woodford on 16 Feb 2011
MATLAB is lacking tools for saving movies in decent compressed video formats (e.g. MPEG4, H.264 etc.). Currently I find myself saving a huge list of PNG files, then converting these to a video in an external application, which is far from ideal.

  2 Comments

Oliver Woodford
Oliver Woodford on 22 Nov 2013
Happily, this is becoming less true with every release, on Windows at least.
Wyken Seagrave
Wyken Seagrave on 14 May 2014
The secret of creating high quality videos on Windows is to use VideoWriter, an object compressed with Motion JPEG, and not movie2avi, which produces low quality video. So it is frustrating that, when you search the Help for "movie", and you find movie2avi, the only reference to VideoWriter is a single word at the bottom of the help page. I think there should be a warning that it has replaced movie2avi!

Sign in to comment.


Patrick
Patrick on 27 Oct 2011
The figure-export is a pain, if annotation are used they will move about, not all of them and not much and not to any order (at least nothing i could recognise) but sometimes a few mm in the odd direction.

  1 Comment

K E
K E on 25 Jul 2012
Also, quality of copied figures is poor (blurry lines/text) and requires workarounds like export_fig .

Sign in to comment.


Csaba
Csaba on 4 Dec 2013
My current frustration is with the Matlab editor: when the same M-script source is open in both the Matlab editor and another code editor (certain things are more efficient in the other editor), and the Matlab editor detects a change that was made to the file outside, it reloads (which is correct) - but it also forgets about all location information from before the reload, and jumps to the beginning of the file.
I would expect this is just an oversight (how hard would it be to remember the line at which the cursor was before reload - even if the code change that triggered the reload shifted content, most of the time this would be by only a few lines or pages, still much better than starting from the top of the file every_time_ ...).
And if that's not feasible, at least letting the bookmarks survive the reload would be a reasonable work-around, but sadly no, they are erased as part of the reload as well.
Am I the only one having trouble with this?

  2 Comments

Image Analyst
Image Analyst on 5 Dec 2013
That does sound frustrating. I also have the same problem when I go to GUIDE and save it from GUIDE and return to MATLAB. It blows away bookmarks, breakpoints, etc.
jaya viMALA
jaya viMALA on 12 Apr 2019
yes, my Students also get the Same issues, I need some Guidence on this
Regards,

Sign in to comment.


Ian
Ian on 28 Mar 2011
Lack of OpenCL support: TMW forces us to depend firstly on a toolbox for this functionality, and secondly on the vendor lock-in using CUDA. Mathematica builds this in to its core, not some toolbox, and provides both CUDA and OpenCL support so we aren't forced to a single GPU vendor.

  6 Comments

Show 3 older comments
Walter Roberson
Walter Roberson on 17 Jun 2013
Happening to read Val's comment again just now: MacBook Pro's added NVIDIA graphics cards in June of 2012; I am using one of them right now.
Curtis
Curtis on 20 Jun 2013
They've had CUDA support for years and STILL the only way to get ANY OpenCL implementation is with third party plug-ins. Hopefully the massive hiring TMW is doing will start to change things soon.
Walter Roberson
Walter Roberson on 28 Jun 2017
I am told that OpenCL is more a framework allowing for the possibility of various actions being possible, but with considerable variability in what the different manufacturers support, and therefore Mathworks would effectively have to do different OpenCL implementations for each manufacturer and to specialize it for different models within the manufacturer.

Sign in to comment.


tom 1line=1bug
tom 1line=1bug on 12 Sep 2011
Frustrating factoids after living with Matlab since version 4.x:
1. Ambiguous use of parenthesis ([([( indexing operations and function calling )])]). I wish Matlab's syntactic sugar could differentiate between this two actions, using parenthesis and something else (i.e. like Mathematica's use of parenthesis vs square brackets)
2. Poor quality graphics (already mentioned in detail by other fellows)
3. Excessive "commoditization" or segmentation of functionality that should be part of the core Matlab product (e.g. signal processing, image processing, statistics, and pdes).
4. I wish there was better quality control when rolling out toolboxes. The seemingly lack of coding style/guidelines is particularly annoying. Even toolboxes meant to be used together have inconsistent syntax and seem a bunch of functions "bolted-on" to Matlab, rather than coherent extensions of M language.
5. I hopelessly wish there was first-rate support for functional programming.
6. Very poor support for time series and data structure requiring multiformat date/time indexing.
99nth. Non-specific gripe: Over time Matlab is becoming less and less my primary platform for scientific computing and algorithm development, and more often than not just a target for deployment (meaning re-writing whatever project in the M language) because the customer/client is using it, or because a particular toolbox is a time-saver. I remember the days of yore, when Matlab looked like a hammer and most problems looked like nails. Now I feel that the handle of the hammer is a Baroque wooden carving, richly ornamented, weighting 120 lbs... More surprising is the strange comfort of spending so much more time working with Mathematica's superhuman -indeed extraterrestrial- capabilities for algorithm development and testing, and the "translating" to Matlab upon request. I guess necessity is the mother of strange companions...

  1 Comment

Oliver Woodford
Oliver Woodford on 28 Sep 2011
Commoditization is an excellent point. It should be an answer by itself.

Sign in to comment.


Richard Finley
Richard Finley on 30 Jan 2012
I have been a licensed user of MATLAB for the past 20 years. I am also a big Mathematica user and sometimes use Maple and Mathcad and of course I love R and Python. I have enjoyed using MATLAB for my numerical work, but the licensing hassles have driven me to the point that I am considering just dropping it after all these years. I don't mind paying the (substantial) price for my license -- but then just let me do my work -- whether it is on my main desktop or my laptop. I used to just get the update CDs and my license number by email and no hassles. Are you really making more money by stopping piracy with all your licensing hassles? I doubt it. You are driving away your paying customers/user base. I sympathize with this (former) user: http://mybrainextension.blogspot.com/2011/07/aaaarrrrrrgh-matlab.html

  4 Comments

Show 1 older comment
Jan
Jan on 25 Jul 2012
Without doubt FlexLM is neither smart, nor user-friendly. I've struggeled with several other software package also, which use this license manager. The usual procedure is 12 minutes for installing the software, 2 hours trying to install the license manager, one hour for emails and phone calls to the technical support, who comes in the next day, look of what I have done so far. Finally the sessions end with something like: "I've called the developpers this morning and they told me, that you need the computer's name and nothing else." But after we typed in the IP, the software suddenly accepts the connection to the license server.
The FlexLM software is a really bad choice. It is very sad, that TMW has decided for this service, because all it does is impeding the legal usage of Matlab substantially.
Mike
Mike on 25 Jul 2012
The fact that if I want to deactivate an old version of matlab on a PC with 2 versions, since there is a new release out and flex deactivates all versions on the PC is a pain.... Why doesn't it just deactivate the one selected?
Mace
Mace on 7 Oct 2015
I agree. License hassles are the main reason why I'm switching to R. I constantly am interrupted by license issues. E.g. I drop wifi or just vpn and matlab does not execute commands without even notifying about it - it just does nothing while I think it's computing. Or I wake up my mac and before it connects to wifi matlab already shuts down saying it lost connection to the license server.

Sign in to comment.


Knut
Knut on 5 May 2011
The fact that once you schedule a low-level function, you cannot in any way stop it. Such as conv(zeros(umpteen,1), ones(umpteen,1)). A big red, working "stop" button would have been nice.
I like to run my scripts, insert break-points, then test stuff using command-line on the variables available. In recent versions, I have not been able to define new variables that way easily, having to declare them as global (??)
I would have really liked the core matrix-syntax to be even cleaner (not having scalars being 1x1 2d arrays for instance).
I would have liked some sort of extension of the matrix syntax into tensors.
I really hate the frustration when I go from compact, vectorized, readable MATLAB-code and have to dip my toes into "real" programming languages, where you spend most of your time concentrating on the implementation instead of the functionality :-D

  1 Comment

Steven Lord
Steven Lord on 20 Aug 2019
For the first point, this won't work for all "low-level function"s but the Pause button in the Editor, introduced in release R2016a, may be of use to you as may the Array Size Limit preference introduced in release R2015a.
Yes, I know I'm responding to an eight year old message. I just noticed it and wanted to add the relevant information in case others had the same frustration.

Sign in to comment.


Chad Greene
Chad Greene on 27 Mar 2015
I'd like new installations of Matlab to be able to grab preference settings from previous versions installed on my computer. It's minor, but spending 20 minutes sifting through M-Lint settings and fonts and background colors is just enough of a hassle to keep me from upgrading twice a year. I wish upgrading Matlab were as easy as upgrading Firefox.

  12 Comments

Show 9 older comments
Serge
Serge on 29 Jul 2018
I have spent days synchronize MatLab preferences and shortcuts across computers... and the process still confuses me!
Note: I despise the ribbon ( a waste of screen, particularly on a laptop ) so I hide it and use ‘Quick Access Toolbar’. I also rely on docking (editor + figure + command line). However it is not possible to add figure commands to the quick access, so I spend hours hacking figure shortcuts (zoom, etc) with icons, which kind of works. But then copying the shortcuts to another PC is almost impossible! One has to copy all the icon figures and FavoriteCommands.xml, MATLABDesktop.xml, MATLABQuickAccess.xml, matlab.settings, etc from C:\Users\<user>\AppData\Roaming\MathWorks\MATLAB\R2018a, and then fix the shortcuts to point at the icons… argh!
What I have so far:
.
1. There needs to be a sync option for preferences and shortcuts using the MatLab account through the web.
2. Also an option to export/import all preferences and shortcuts as a file.
3. Allow user to add figure icons to the quick access toolbar.
4. Allow user to use classic toolbar (ie pre ribbons).
Walter Roberson
Walter Roberson on 29 Jul 2018
As I answer questions about a wide range of releases, I sometimes use one of the pre-ribbon releases. These days, those feel pretty harsh on the eyes!
Rik
Rik on 29 Jul 2018
I would agree. I started with Matlab just before the ribbon was introduced, and at first I thought it was superfluous, but now it just feels part of the look of Matlab. It does add an easy way to get to often used controls.
RE space issue: I have my taskbar to the side, and I have an IM program docked, so my usable area is close to 4:3 screen ratio, which I think is way better.

Sign in to comment.


David Young
David Young on 13 May 2015
The inputParser / validateattributes / validatestring collection of function parsing and checking tools.
  • You have to write too many lines of code to do even simple things.
  • I haven't done any testing, but I wonder about the overheads: all that object, anonymous function and cell array construction and access.
  • Despite the complexity and apparent power, there are silly limitations. For example, required arguments must precede optional arguments must precede name-value pair arguments. Given that there are validation functions, there's no need for this.
  • There was an absurd change of name of one of the methods of inputParser from addParamValue to addParameter . The documentated functionality appears to be the same, so there was no need for the change, but this is the biggest cause of users of old versions to run into trouble with my code on the FEX.
  • The functions don't work nicely together. For example validateattributes always throws an error for invalid inputs, rather than returning a result. That means that you can't combine two calls to it into a single expression for a validation function (e.g. my input could be empty, or a row vector of length 3). I can work round this with a wrapper function that catches the error; but integrated design would have avoided the need.
  • Another failure to integrate functionality: validatestring can handle abbreviated inputs nicely, but if you use it as a validation function for inputParser the information as to which possible input whas given is lost, and you have to call it again on the parsed results.
There's more to say, but I hope that makes the point. There's a strong case, I think, for starting again in this area, or failing that for offering a migration route to functions that do work together properly.

  4 Comments

Show 1 older comment
per isakson
per isakson on 13 May 2015
Shameless ad: My FEX contribution InputPreprocessor is an effort to solve most of the items on your list. I've used InputPreprocessor on a regular basis for some seven years (with a few updates) and I still thinks it is useful. Yes, it adds to the execution time.
David Young
David Young on 13 May 2015
Thank you per, I shall look at it. (I'd still TMW to improve what they provide, of course.)
Steven Lord
Steven Lord on 20 Apr 2020
Do you find the function argument validation functionality introduced in release R2019b to be an improvement?

Sign in to comment.


yunhui zhou
yunhui zhou on 19 May 2019
  1. Mathworks hides the direct download link for update release since Matlab R2018b, and force regular users (not license administrators) to update the software by clicking the bell-shaped button within the software.
  2. I cannot use Matlab anymore when it is downloading the update release.
  3. The download speed from my lab to the Mathworks's server is awful.
  4. I have serveral Matlab installations (same version) to maintain in my lab, and without an offline update release installation package, they all have to download the same update package and go through this awfully long update process. I have no idea why the Mathworks thinks updating within the software is the optimal experience.
Solution for anyone suffering from this:
The update package for Matlab R2018b can be directly downloaded at: https://www.mathworks.com/downloads/web_downloads/show_updates?release=R2018b
The update package for Matlab R2019a can be directly downloaded at: https://www.mathworks.com/downloads/web_downloads/show_updates?release=R2019a

  0 Comments

Sign in to comment.


Jan
Jan on 21 Feb 2011
"load file.mat" saves 3 keystrokes compared to "load('file.mat')", but I've spent more than 600 keystrokes in answering desperate question in CSSM, Answers and goMatlab about using a variable as file name.
The HELP text of SAVE and LOAD explains the needed arguments explicitely. Therefore it is not Matlab, which frustrates me in this point, but the fact that a lot of Matlab beginners are overstrained by the tricky and actually not useful feature of non-functional forms of commands - and that even a good help text cannot intercept these problems.

  3 Comments

Steven Lord
Steven Lord on 20 Aug 2019
At some point between 2011 and now, the help text for save and load now mention the command form of the functions and state that users should not use the command form if the filename is a variable. The documentation now includes the same caution in several places (in the Description section and in the description of the filename and variables input arguments.)
dpb
dpb on 20 Aug 2019
But who actually reads the documentation is the problem often...or at least far enough down to get to the admonition (or having done so, at their stage of familiarity w/ ML and programming in general often, actually understands what they're being told)?
Rik
Rik on 20 Aug 2019
I would suggest adding an m-lint warning for this syntax, but I doubt that would be implemented, and I doubt it would help (for the reasons dpb mentions).

Sign in to comment.


Royi Avital
Royi Avital on 27 Mar 2011
  • The lack of built in 64 bit compiler (MATLAB used to work with Photoshop out of the box).
  • The graphics stack performance. It's so slow!
  • Editor - I wish the editor could add rich text editing capabilities for code documentation (Adding LaTex, Graphs, etc...).

  4 Comments

Show 1 older comment
Steven Lord
Steven Lord on 21 Mar 2019
Royi Avital wrote: Editor - I wish the editor could add rich text editing capabilities for code documentation (Adding LaTex, Graphs, etc...).
Jan wrote: And the editor needs a block selection.
The Live Editor (introduced in release R2016a) provides rich text editing capabilities, including (as of release R2018a) the ability to select and edit a rectangular area of code.
Royi Avital
Royi Avital on 20 Apr 2020
@StevenLord, Well, the bad LaTeX implementation in Live Editor made me stay away from it. It is lierally years behind Jupyter Notebooks.
Steven Lord
Steven Lord on 20 Apr 2020
Did you report the "bad LaTeX implementation" to Technical Support? It may be a bug that can be fixed in an Update release.

Sign in to comment.


Eric Keller
Eric Keller on 8 Feb 2012
there are sometimes where you just have to kill matlab because it would rather complete a nonsense calculation rather than listen to I really didn't want to know quite that much. I swear this happens every time I have a short deadline on a presentation. Now I just want to go home, but I promised to do a presentation before I leave.

  2 Comments

Walter Roberson
Walter Roberson on 9 Feb 2012
And when it breaks down or starts to annoy
Or grinds when it moves
And gives you no joy ...
Steven Lord
Steven Lord on 21 Mar 2019
The array size limit and the ability to pause a running file may help with this.
Note that the the documentation states "MATLAB pauses execution at the next executable line" so if MATLAB is in the middle of an operation (a large matrix multiplication, for example) it may take some time for that operation to complete and MATLAB to reach the next executable line.

Sign in to comment.


Chad Greene
Chad Greene on 12 May 2015
I'd like a more helpful message with Undefined function errors. I know what the error message means now, but there was a time when
Undefined function 'foo' for input arguments of type 'double'
did not help me understand the cause of the error. Judging by the number of times that question has been asked on the Answers forum, it may be helpful to add a little sentence explaining possible causes of Undefined function errors.

  3 Comments

Guillaume
Guillaume on 13 May 2015
I definitively second this. It's clear that new users do not understand the error message. Adding:
Most likely 'foo' is not on the path.
to the message would greatly help.
Chad Greene
Chad Greene on 12 May 2016
It's amazing how much verbs help us understand sentences. I've never understood the compulsion leave verbs out of error messages.
Rik
Rik on 29 Jul 2018
Also since Matlab is generally really lax about the input type. If a function requires a specific data type, a specific error will be thrown. Adding that information only confuses users.

Sign in to comment.


David Young
David Young on 28 Mar 2011
The use of degrees as the unit for angles in some functions of the Image Processing Toolbox. For instance
  • hough: takes arguments and returns results in degrees
as opposed to, for example,
  • atan2: returns result in radians, like the majority of angular functions in most languages and maths packages.
Apart from the irritation of having to keep writing *pi/180 here and there (and forgetting to quite often), it also makes it harder to teach students to use grown-up units (radians) in their programs rather than degrees.

  5 Comments

Show 2 older comments
Walter Roberson
Walter Roberson on 12 Mar 2013
No element of a toolbox can be used by anyone who does not have a license for the toolbox. It would, for example, not be permitted to copy those files from the mapping toolbox and include them with your code that is intended to run without the toolbox.
Bjorn Gustavsson
Bjorn Gustavsson on 22 Nov 2013
I think we all can copy all the relevant content of deg2rad and rad2deg and distriute them without concerns about violating anything.
Rob Comer
Rob Comer on 21 May 2016