Answered
R2013a run-time error message requesting the use of scaler index in my function
* Most likely the problem is specific to your system. * The probability of _"Is this R2013a backward compatibility issue or a ...

12 years ago | 0

Answered
Programming a MATLAB plugin
I know <http://en.wikipedia.org/wiki/Plug-in_%28computing%29 plugins> from using various open source programs, e.g. notepad++. I...

12 years ago | 0

Answered
designing gui for matlab files
That depends on what you mean by _professional gui_. However, many would answer *NO* to * _"does guide provide building a pr...

12 years ago | 0

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
*Problem:* Many users do not understand how to use the markup button, *{}Code*, which results in formatting of text like the exa...

12 years ago | 1

Answered
Using Google API in matlab
Search the FEX for <http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=google+api Google API>

12 years ago | 0

| accepted

Answered
Getting "Subscripted assignment dimension mismatch" error message
Your way of parsing the text file is laborious and error prone. K>> Min = str2num(line1(17:19)); K>> Min Min =...

12 years ago | 1

| accepted

Answered
Read csv-File fast / convert csv to mat
*Warning: These functions change your data files. Operate on a copies!* Here are two functions to test regarding speed. I bel...

12 years ago | 1

Answered
Getting a value class to have some behaviors of a handle class
Value and handle classes are different and there are reasons why Matlab has both. See * <http://en.wikipedia.org/wiki/Immut...

12 years ago | 0

Answered
How to implement derived function?
You missed |obj| in |distributionFunction( obj, theta)|. Try >> udf = UniformDistribution; >> d = udf.distributionF...

12 years ago | 0

| accepted

Answered
For Error: ??? Index exceeds matrix dimensions.
You don't supply enough information to make it possible for us to find the cause of the error. Here are some links on debuggi...

12 years ago | 1

Answered
Problem with the find function
Here are some links on debugging in Matlab * <http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/ Debugging in ...

12 years ago | 0

Answered
Updating CData of subimage unwantedly resets its colormap
Matlab uses index-data in combination with a colormap or true color data, which does not depend on a colormap. See: * <http:...

12 years ago | 0

| accepted

Answered
How to use a method to assign a structure to a class property?
Try this script: %% w = WAVE(); w.newVar('name','My Object'); %% field = 'name2'; w.s.(field) =...

12 years ago | 0

| accepted

Answered
Must be a positive integer or logical
Use the debug support. It's good. Here are some links on debugging in Matlab * <http://blogs.mathworks.com/videos/2012/07/03/...

12 years ago | 0

Answered
How to get the handle of a selected object?
Try <http://www.mathworks.se/help/matlab/ref/gco.html gco, Handle of current object>

12 years ago | 1

| accepted

Answered
Is there a toolbox for statistical energy analysis?
See SEAlab is a free Statistical Energy Analysis (SEA) code implemented in Matlab. link broken Statistical Energy Analysis sof...

12 years ago | 1

| accepted

Answered
Trigger deletion of handle object when one of its IMROI properties is deleted
Here is an example. Since I don't want to modify the Matlab functions, I have subclassed |imellipse|. Step 1. Execute this sc...

12 years ago | 2

| accepted

Question


How to move mfiles from a "sandbox" to a package folder?
*Background:* * thirty files in an ordinary folder, most of which define user classes. * a test suite that covers most of t...

12 years ago | 0 answers | 1

0

answers

Answered
How to change directory in a for loop
Load the mat-file content to a variable S = load('tmp.mat'); Inspect |S| to learn how the folder names are stored. I ...

12 years ago | 0

Answered
Get code from a GUI created using GUIDE
_" Is it possible to get the code that creates all the objects in the GUI that I set up with GUIDE?"_ I think it is possible ...

12 years ago | 0

Answered
Use subsasgn from a value class to update its value
The overloaded |subsasgn| doesn't work in the objects own methods. <http://www.mathworks.se/help/matlab/ref/subsasgn.html R2014a...

12 years ago | 2

| accepted

Answered
Cell contents assignment to a non-cell array object.
Add clear('Comfort') at the top of the script. Or better add Comfort = cell( 1, 20 ); at the top. Most l...

12 years ago | 1

Answered
Question about fgetl(fileID)
Try function ccsm() %% fid = fopen( 'cssm.txt', 'r' ); cac = regexp( fgetl( fid ), '=', 'split'...

12 years ago | 0

| accepted

Answered
Import .csv that has the characters '-'
Not tested: fid = fopen( 'filename.csv' ); cac = textscan( fid, '%s%f%f%f%f%f', 'delimiter', ',', 'headerlines', 1 )...

12 years ago | 0

| accepted

Answered
how can you pass values to variables in an an array of functions?
Playing with anonymous functions in combination with |cellfun| %% fh{1}=@(x) x.*x; fh{2}=@(x) x.*x.*x; fh{...

12 years ago | 0

Answered
How do I go about saving a "published" output as a different name each consecutive time its created?
Different names of the output file is not supported (AFAIK), but you can put it in different subfolders. <http://www.mathworks.s...

12 years ago | 0

Answered
Using suptitle overrides ('visible', 'off') figure property
Try to comment out the line |axes(haold);| at the end of |suptitle| .... % axes(haold); if nargout, ...

12 years ago | 3

| accepted

Answered
is there a code to open and run all m files in a folder?
Yes, there is * <http://www.mathworks.se/help/matlab/matlab-unit-test-framework.html Unit Testing Framework, Write and run te...

12 years ago | 0

Answered
Are MATLAB GUIs good? I think so, while others dont!
I have made GUIs with Matlab since it was introduced in the early nineties. We are still (R2013b) using GUIs that I made in the ...

12 years ago | 2

| accepted

Load more