Respondida
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 ...

más de 12 años hace | 0

Respondida
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...

más de 12 años hace | 0

Respondida
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...

más de 12 años hace | 0

Respondida
[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...

más de 12 años hace | 1

Respondida
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>

más de 12 años hace | 0

| aceptada

Respondida
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 =...

más de 12 años hace | 1

| aceptada

Respondida
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...

más de 12 años hace | 1

Respondida
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...

más de 12 años hace | 0

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

más de 12 años hace | 0

| aceptada

Respondida
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...

más de 12 años hace | 1

Respondida
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 ...

más de 12 años hace | 0

Respondida
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:...

más de 12 años hace | 0

| aceptada

Respondida
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) =...

más de 12 años hace | 0

| aceptada

Respondida
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/...

más de 12 años hace | 0

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

más de 12 años hace | 1

| aceptada

Respondida
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...

más de 12 años hace | 1

| aceptada

Respondida
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...

más de 12 años hace | 2

| aceptada

Pregunta


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...

más de 12 años hace | 0 respuestas | 1

0

respuestas

Respondida
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 ...

más de 12 años hace | 0

Respondida
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 ...

más de 12 años hace | 0

Respondida
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...

más de 12 años hace | 2

| aceptada

Respondida
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...

más de 12 años hace | 1

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

más de 12 años hace | 0

| aceptada

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

más de 12 años hace | 0

| aceptada

Respondida
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{...

más de 12 años hace | 0

Respondida
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...

más de 12 años hace | 0

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

más de 12 años hace | 3

| aceptada

Respondida
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...

más de 12 años hace | 0

Respondida
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 ...

más de 12 años hace | 2

| aceptada

Cargar más