Answered
Constant, Persistent value, and profile versioning
One option is to use a CONSTANT property assigned to an object instance. See the doc <http://www.mathworks.com/help/techdoc/mat...

mer än 12 år ago | 2

| accepted

Answered
filter an array of objects based on the value of a string property
You can create a logical mask using ARRAYFUN, where you execute a function on each object that returns true if the object is the...

mer än 12 år ago | 0

Answered
c# integration with Matlab
Can you call your C# program using MATLAB's <http://www.mathworks.com/help/techdoc/matlab_external/brpb5k6.html .NET interface>?...

mer än 12 år ago | 0

Answered
Plotting two 3D figures (mesh,surf) - set different parameters
There are lots of properties for a surface object that allow you to control transparency. You can also use ALPHA to quickly...

mer än 12 år ago | 2

| accepted

Answered
looking for a function like integral2
You are probably using an older version of MATLAB. The INTEGRAL2 function was added along with INTEGRAL and INTEGRAL3 in R2012a...

mer än 12 år ago | 0

| accepted

Answered
Shrink a 1-D array (vector) by removing all the columns with a value of zero
Here is a good solution: NewSimpleArray = SimpleArray(SimpleArray ~= 0)

mer än 12 år ago | 9

| accepted

Answered
How to load Google Earth Toolbox?
You might need to <http://www.mathworks.com/help/techdoc/matlab_env/f8-28521.html update your toolbox path cache>. This is typi...

mer än 12 år ago | 0

Answered
How to save output arguments from functions called by timers
A simple option to communicate between your program and timer callback is to make the timer callback a nested function in your m...

mer än 12 år ago | 0

| accepted

Answered
radio button prompt
Radio buttons are typically used when there is a set of mutually exclusive options to choose from. For this use case, MATLAB pr...

mer än 12 år ago | 0

| accepted

Answered
fsolve
FSOLVE only accepts a one-input function. However, you can create an anonymous function and bind your second input to a particu...

mer än 12 år ago | 0

Answered
Modifying the dynamic Java classpath when Java objects are loaded
Steve Lord answered a similar question on the MATLAB Newsgroup. I think <http://www.mathworks.com/matlabcentral/newsreader/view...

mer än 12 år ago | 0

Answered
Problem with gaoptimset in unix
The GAOPTIMSET function is installed with Global Optimization Toolbox. Do you have that product installed? You can check with ...

mer än 12 år ago | 0

| accepted

Answered
Run Script file from Matlab
Try using MATLAB's FTP function. doc ftp

mer än 12 år ago | 0

| accepted

Answered
Problem accessing MATLAB functions
Do you have System Identification Toolbox installed? You can see a list of installed toolboxes by executing: ver In add...

mer än 12 år ago | 2

| accepted

Answered
Function referring to abstract class
Your problem description suggests to me that you might want to structure your classes according to the <http://en.wikipedia.org/...

mer än 12 år ago | 2

| accepted

Answered
Pi Day
The correct answer is <http://tauday.com Tau>.

mer än 12 år ago | 2

| accepted

Answered
Set text in GUI figure axis
A look through the <http://www.mathworks.com/help/techdoc/ref/text_props.html documentation for TEXT properties> shows the Paren...

mer än 12 år ago | 1

| accepted

Answered
logical indexing
Use LOGICAL to do the type conversion: a(logical(b))

mer än 12 år ago | 2

| accepted

Answered
manage a list of instances of a class
You might want to use a PERSISTENT variable within nodelist() to keep track of the nodes. For example: function varargout ...

mer än 12 år ago | 0

| accepted

Answered
Binary output formatting
Instead of displaying each piece of the string in the loop, you could append it onto a variable that is displayed once at the en...

mer än 12 år ago | 0

| accepted

Answered
argin for a class method ?
NARGIN does not currently (as of R2012a) work on class methods. However, you might be able to get the information you want by i...

mer än 12 år ago | 2

| accepted

Answered
Problem with plotyy and grid
It looks like zooming in a PLOTYY axes is known to be problematic and lead to tick marks disappearing. If this functionality is...

mer än 12 år ago | 0

Answered
alternatives to putting multiple placeholders
Since all of your data has the same format, you can let FPRINTF repeat the format specifier over all of your data. Here is an e...

mer än 12 år ago | 1

Answered
Simulink Multiplot graph
If you are using the Simulink Scope, then you can add titles to your axes plots by right-clicking one and selecting _Axes Proper...

mer än 12 år ago | 0

Answered
Searching for group of letters in a structure or character string
I would suggest you write a single-input function that takes a struct and returns whether that struct contains "tcp". Once you ...

mer än 12 år ago | 1

Answered
faster way of using fprintf
You might try using REPMAT to specify one format for the numeric data that you repeat for the number of numbers you have. For e...

mer än 12 år ago | 1

| accepted

Answered
how to save a graph in jpg or any other image format
From your figure, select File->Save as and choose a file type in the dialog. If you need to save your figure programmatically, ...

mer än 12 år ago | 1

Answered
Plot in a new figure
With COPYOBJ, you should be able to specify the highest level object to copy, and then that object along with its children will ...

mer än 12 år ago | 0

Answered
Help to rename files in order of date and time created
If "last modified" date is a good enough proxy for "created" date, then you can use DIR to find the dates for each file. You co...

mer än 12 år ago | 0

Answered
matlab interfacing
Some toolboxes have support for communicating with external devices via USB. See <http://www.mathworks.com/products/instrument/h...

mer än 12 år ago | 0

Load more