Answered
saving everything in the workspace
You can use the command or the function syntax. If the variable names are the values of string variables then command syntax can...

13 years ago | 1

| accepted

Answered
How to find the number of consecutive occurrence of the numbers?
Search File Exchange for <http://www.mathworks.se/matlabcentral/fileexchange/index?utf8=%E2%9C%93&sort=date_desc_updated&term=ru...

13 years ago | 0

Answered
getting function name within that function run or currently running function
Try >> cssm which returns ans = cssm/cssm2 where function name = cssm() name = cssm1()...

13 years ago | 1

Answered
Loading and unloading data files
_"does this data get saved into memory each time"_. I'm not sure I understand correctly. The system cache is affected and data...

13 years ago | 0

Answered
Code for Import data\table in from Microsoft SQL server to Matlab and viceversa
See <http://www.mathworks.se/products/database/ Database Toolbox>

13 years ago | 0

Answered
Methods in Making a Simple Program More Efficient
Try clear takeALongTimeFunction tic, takeALongTimeFunction, toc tic, takeALongTimeFunction, toc it shou...

13 years ago | 2

| accepted

Answered
How can I plot data as program runs?
See <http://www.mathworks.se/help/matlab/ref/set.html Set Handle Graphics object properties> You need to do something like ...

13 years ago | 0

Answered
Is it possible to run a matlab program on a computer that does not have matlab installed on it? If so, How can I do it?
Yes, see <http://www.mathworks.se/products/compiler/ MATLAB Compilerâ„¢>

13 years ago | 1

| accepted

Answered
Code for Calendar GUI in Matlab
Search the File Exchange for <http://www.mathworks.se/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=Calendar+gui "calenda...

13 years ago | 2

Question


Howto arrange panels in desktop
*BACKGROUND* For a long time I have used my own desktop layout. I'll created it by modifying the default layout. Now I canno...

13 years ago | 1 answer | 0

1

answer

Answered
Differences in memory pre-allocation approaches.
This has been discussed more than once. I think Loren has discussed it in <http://blogs.mathworks.com/loren/ her blog>. Some ...

13 years ago | 1

Answered
Converting yymmddhhmm to mm/dd/yy hh:mm for Figure
Try %% str = '0305231950'; sdn = datenum( str, 'yymmddHHMM' ); %% datestr( sdn, 'mm/dd/yy/ HH:MM' ) ...

13 years ago | 1

Answered
fprintf in a DATA *.dat format
What happens if you just change namefile='nameout.txt'; to namefile='nameout.dat'; What encoding does th...

13 years ago | 0

Answered
How to convert radians to degrees?
Wiki knows <http://en.wikipedia.org/wiki/Radian>

13 years ago | 0

Answered
How do I use IF-loops with plot_handles?
_"check if figure-ID is correct "_ There is a function: ishandle Test for valid graphics object handle *Contin...

13 years ago | 0

| accepted

Answered
Publishing a class definition to html
See <http://www.mathworks.se/matlabcentral/answers/58438#answer_70713 Which tool are you using to create the documentation of yo...

13 years ago | 0

Answered
How to use a method to assign a structure to a class property?
Are you aware of <http://www.mathworks.se/help/matlab/matlab_oop/dynamic-properties--adding-properties-to-an-instance.html Dynam...

13 years ago | 0

Answered
My function wont work?
_"it keep ssayinf variables are undefined"_. What is the exact error message? I cannot guess what you are doing to produce a...

13 years ago | 0

Answered
command for which the label on the x axis is not shown
It works here (R2012a) %% sdn = [ 1 : 6 ] + 735370; date_strings = datestr( sdn, 'dd-mmm-yyyy' )...

13 years ago | 0

| accepted

Answered
plot data instead of number on the xaxis
You need to assign date string values to the axes' property, |XTickLabel|. On-line help: For example, the statement: set...

13 years ago | 0

| accepted

Answered
import file with both text and numbers using texscan
The problem is that space is used as delimiter between the second and third column. Your format string, |'%s %s %d8 %f %f %s'|, ...

13 years ago | 0

| accepted

Answered
How to define and call non constructor object methods?
Looks ok to me. Do clear all, clear classes and try the call S.CheckingTheDot(a); again. The old class def...

13 years ago | 1

| accepted

Answered
How to read strings from file with fscanf or sscanf (NOT textscan)?
What you see is as documented. Clip from on-line help: sscanf finds three word matches for %s and two numeric matches fo...

13 years ago | 0

Answered
How can I change property of a user defined class by using set(my_class,'my_property',my_value)
Inherit from hgsetget. Doc says: hgsetget Abstract class used to derive handle class with set and get methods ...

13 years ago | 0

| accepted

Answered
OOP: lazy dependent property
I've seen a recommendation to use persistent variables in |expensive_function| function res = expensive_function(value) ...

13 years ago | 1

| accepted

Answered
Please Help Me About Sub and Super Classes
It is a convention to use upper case for the first letter in a class name and lower case for instancies/objects Try >...

13 years ago | 0

| accepted

Answered
Reading very large, sparse, mixed format CSV
Excel help says In Excel 2010, the maximum worksheet size is 1,048,576 rows by 16,384 columns. I believe that in Mat...

13 years ago | 0

Answered
Is there a way to create and annotate a group scatter plot, without using the gscatter command?
_"small car example"_ is this what you refer to? load carsmall gscatter(Weight,MPG,Model_Year,'','xos') _"annotat...

13 years ago | 0

| accepted

Answered
Is there a way to create and annotate a group scatter plot, without using the gscatter command?
Did you search the File Exchange? <http://www.mathworks.se/matlabcentral/fileexchange/37435-generate-data-for-clustering Generat...

13 years ago | 0

Load more