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

circa 13 anni fa | 1

| accettato

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

circa 13 anni fa | 0

| accettato

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

circa 13 anni fa | 0

| accettato

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

circa 13 anni fa | 1

Risposto
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: #...

circa 13 anni fa | 0

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

circa 13 anni fa | 0

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

circa 13 anni fa | 12

| accettato

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

circa 13 anni fa | 0

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

circa 13 anni fa | 1

Risposto
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'); ...

circa 13 anni fa | 1

| accettato

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

circa 13 anni fa | 1

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

circa 13 anni fa | 1

| accettato

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

circa 13 anni fa | 0

| accettato

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

circa 13 anni fa | 11

| accettato

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

circa 13 anni fa | 3

| accettato

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

circa 13 anni fa | 0

| accettato

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

circa 13 anni fa | 0

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

circa 13 anni fa | 0

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

circa 13 anni fa | 4

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

circa 13 anni fa | 0

| accettato