Answered
Datacursormode
Yes this is possible and documented under "Creating Multiple Data Tips" on: <http://www.mathworks.com/help/techdoc/creating_p...

11 years ago | 1

| accepted

Answered
Database Connectivity in MATLAB 2010B picks up only one row from Oracle
Please consider using JDBC drivers instead of ODBC: # They are more reliable on 64-bit Windows. # They should perform better...

11 years ago | 0

| accepted

Answered
Extendable, but bacward compatible M code.
Working with structures is indeed an option. Other options include working with VARARGIN and VARARGOUT: <http://www.mathworks.c...

11 years ago | 0

| accepted

Answered
Forcing a singleton to be treated as a SAFEARRAY
The default data conversion rules for MATLAB's COM interface convert all non-scalar MATLAB arrays into 2-dimensional SAFEARRAYs...

11 years ago | 1

Answered
Mex Error: undeclared identifier What does this mean?
USE_DEFAULT_SIM_STATE is defined in simstruc.h so it sounds like you may be missing the following include in your C code: #...

11 years ago | 0

Answered
Simple GUI to allow Surface plot from excel
There are various ways in which you can call MATLAB from Excel: * <http://www.mathworks.com/products/excellink/ Spreadsheet L...

11 years ago | 0

Answered
Inserting a column in a matrix without deleting any column
Suppose you have: >> A=reshape(1:16,4,4) A = 1 5 9 13 2 6 10 14 3 ...

11 years ago | 12

| accepted

Answered
Import data from GUI into cell
Suppose you have: A = 'a b c'; Possibly obtained by: A = get(handles.myTextEdit,'String'); Then to get each char...

11 years ago | 0

Answered
Embed a Matlab graph in a C++ GUI application
You cannot embed an "interactive graph" into your C++ GUI, static graphs should work though. So you are then just displaying the...

11 years ago | 1

Answered
Combining legend data
What you could do here is first change your code a little to obtain handles to the plot: p1= plot(4.5+rand(1,50),'o'); ...

11 years ago | 1

| accepted

Answered
Iteration of changing discrete variables
You do not necessarily need to have a "standard increase" in a FOR-loop variable, for example the following code is valid: ...

11 years ago | 1

Answered
Use of C++ External Interfaces API with Matlab Compiler Run Time
The following section of the MATLAB documentation tells you which libraries are needed to be able to use the MAT-File API from e...

11 years ago | 1

| accepted

Answered
"From Workspace" time delay
If you right-click a block and select "Block Properties..." you can enter a Priority which influences the order in which blocks ...

11 years ago | 0

| accepted

Answered
I have 2 columns and 10 rows of numerical data in my excel file. How to import this data in to MATLAB and then plot it?
Importing data from Excel can be done using the “readtable” function. For example, to read all data from myfile.xls: T =...

11 years ago | 11

| accepted

Answered
How to create windows forms in MATLAB?
I assume you are talking about .NET's Windows Forms, if so you would need to start with loading the correct Assembly: NET.a...

11 years ago | 3

| accepted

Answered
Can you load compiled code from an icon?
Yes that should be possible; simply create a new shortcut, on for example your desktop, by: 1. Right-clicking on your desktop...

11 years ago | 0

| accepted

Answered
How to search for specific numbers in a structure with cell matrix
Suppose you have vectors: t = 1:10; y = t.^2; And you want to plot(t,y) where for example 2 < t < 5. You could use th...

11 years ago | 0

Answered
calling Java methods using JNI/C++ (via Swig) from Matlab -> UnsatisfiesLinkError
Please make sure you add both your JAR-file and the directory containing the native library to MATLAB's *static* Java Path. So d...

11 years ago | 0

Answered
Line break in "question dialog"
Functions like INPUTDLG and MSGBOX do not interpret '\n' characters; SPRINTF does however. So using SPRINTF should do the trick:...

11 years ago | 4

Answered
is it possible to specify a project library only
You should be able to use private functions for this. More information about private functions can be found in the MATLAB docume...

11 years ago | 0

| accepted