Please vote if you DO NOT want to have M-function in M-script
Show older comments
Vote if you want Mathworks NOT to add this feature.
If you like this feature, please vote on the other post. http://www.mathworks.com/matlabcentral/answers/7690-please-vote-if-you-want-to-have-m-function-in-m-script
If you DON't CARE, you can also vote. http://www.mathworks.com/matlabcentral/answers/7699-please-vote-if-you-don-t-care-to-have-m-function-in-m-script
11 Comments
Jan
on 18 May 2011
Please do not forget to create the third thread: "Please vote, if you are not sure if you wand this feature." I've learned this from my lessons in quantum mechanics and theorie of complex systems: If there are 2 solutions, there must be a 3rd one ever.
Fangjun Jiang
on 18 May 2011
Andy
on 18 May 2011
Should there be some other mechanism for calling for a vote on something that doesn't affect a user's reputation? The way this has been set up, Fangjun gets +1 reputation for every vote either for or against this issue. Not that I think this was Fangjun's intent, but this feels a lot like padding the post count on a forum, and would certainly throw off the "reputation" feature as a measure of the quality of the responses of that user.
Andrew Newell
on 18 May 2011
I also don't think this will determine what Mathworks does. The MATLAB Central discussion is more useful because people discuss the pros and cons of each approach.
Fangjun Jiang
on 18 May 2011
Andrew Newell
on 18 May 2011
I don't mind if you get reputation points from this. It's not fundamentally different from other "meta" questions about MATLAB. People who don't care about the question won't vote.
Jan
on 18 May 2011
A voting can be helpful for TMW to decide if this feature is useful for 1 or 1000 users.
I do not expect that these questions will confuse the reputation system remarkably: I'd be surprised if more than 20 people spend their time for voting. Even the most thrilling questions get 6 to 13 votes only.
Jan
on 18 May 2011
After thinking for some minutes, I've changed my opinion: Jiang (sorry, it this your first name?) asked a (or two or three) meaningful question related to Matlab. Every vote to one or the other question does and should increase the reputation number, because it indicates, that someone is interested in the question. Therefore these questions are "more relevant" (in my opinion) than "Creating a matrix of blank spaces", which got 5 votes, place 14 of the most voted questions).
Fangjun Jiang
on 18 May 2011
Sean de Wolski
on 18 May 2011
I think the points are only redeemable for Sam Adams.
Andrew Newell
on 18 May 2011
you cannot catch walter roberson...walter roberson is now matlab answers...if you try to catch him matlab answers will crush you...crush you...crush...
Answers (3)
Jan
on 18 May 2011
1 vote
+1: Better spend the time to improve the GUI objects - continuous slider callbacks, stable UITREE with supported context menu, sortable UITAB, let FIGURE(FigH) move the keyboard focus to the figure as claimed in the documentation (is this solved in 2011a?! It did not work from 5.3 to 2009a...), ComboBox (editable popup menu), stable GETFRAME (no need for PAUSE(0.02) to wait for drawing of Java objects), fix problems with OpenGL renderer (2% of the 2D plots with enabled Box miss the upper border), ...
Walter Roberson
on 18 May 2011
1 vote
The only time I use scripts is as temporary scratch-pads, pasting in code from questions in order to see what it does or to debug it. And all that does is save me the trouble of adding a "function" line at the top.
The Programming Theory part of me says that Mathworks should not do this: that instead they should work on allowing MATLAB to be "reflective" like Scheme; see here for more information on Reflection. (Disclaimer: I have met the inventor of Reflection in programming languages, and some of my friends worked directly with him in extending the ideas.)
1 Comment
Andrew Newell
on 18 May 2011
MOO! Us cows are not good at reflection.
Jan
on 28 Jan 2017
0 votes
The question is solved by R2016: https://www.mathworks.com/help/matlab/matlab_prog/local-functions-in-scripts.html
Categories
Find more on Scripts in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!