Réponse apportée
i want to create a error msage.
Use <http://www.mathworks.com/help/techdoc/ref/exist.html exist> if (~exist(filename,'file')) msgbox('File Not found'...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Increment file name by adding numbers in a loop
Easy way to increment your filename is: filename = sprintf('%s_%d','filename',k)

plus de 13 ans il y a | 6

| A accepté

Réponse apportée
Arduino to Matlab Real time plotting
The code above looks like an arduino sketch. Whats you MATLAB code to interface with it? Have you looked at <http://www.mathw...

plus de 13 ans il y a | 0

Réponse apportée
The Data Acquisition Toolbox does not recognize my PCI-DAC6703 board
Have you installed InstaCal from measurement computing?

plus de 13 ans il y a | 0

Réponse apportée
How to add variables created in function to workspace?
one option is <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/assignin.html assignin>

plus de 13 ans il y a | 1

Réponse apportée
Convert A String Into a MATLAB Variable Name
There is a MATLAB function to do this: <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/genvarname.html genvarname> ...

plus de 13 ans il y a | 0

Réponse apportée
Serial Port & Bluetooth
You can read/write on the same COM port. The trick to checking whether data is being sent or received by the serial port and you...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
set deploytool for compile activex
You can compile GUI's and other MATLAB programs that make calls to activex controls into exe's using the MATLAB compiler. What y...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
Running Matlab script from Excel
With the spreadsheet Link EX installed, you should be call your custom MATLAB code using the Add-in. Click on MATLAB Add-in ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Mex File problems with 2010a
<http://www.mathworks.com/matlabcentral/answers/9479-c-0x-in-mex try this answer> Also google, there are solutions to this

plus de 13 ans il y a | 0

Réponse apportée
CPLEX-MATLAB LICENSE
I would suspect that this would depend on the license agreement with CPLEX

plus de 13 ans il y a | 0

Réponse apportée
MATLAB with JAVA
I am not sure what you mean by a simple signal in Java. But here is a simple example: --> Java Code import java.lang.*; ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
MATLAB with Java ?
Yes, there are multiple ways to work with Java from MATLAB. You can code up a java classes and then call them from MATLAB. <h...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
MEX and OpenGL
You don't need to create MEX files since you will be running your application in C. You will need to make use of the MATLAB Eng...

plus de 13 ans il y a | 1

Réponse apportée
Matlab Compiler And Simulink
The sim command is an unsupported command for the MATLAB Compiler and cannot be compiled. The general strategy in such cases ...

plus de 13 ans il y a | 1

Réponse apportée
Saving to TXT from standalone executable
Typically as mentioned above, the text file will be included in the CTF archive, if it was added as an additional file in deploy...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Compiling Windows Exe from a Mac
Cross compiling is not possible. You will need to install the MATLAB Compiler on the Windows machine to create an executable. ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Problem with external matlab to VC++ 2008
You need to add an extra directory to the system PATH. I think you might need to add [matlabroot]\bin\win64|32

plus de 13 ans il y a | 0

Réponse apportée
How can I plot a bode diagram with random color?
colors =['r','b','g','y','m','k']; c = ceil(6*(rand)) bode(sys,colors(c)) This will pseudo randomly choose one o...

plus de 13 ans il y a | 1

Réponse apportée
How can I plot a bode diagram with random color?
bode(sys,'r') You can always write some code to pick a random color from a set of colors that you would like

plus de 13 ans il y a | 0

Réponse apportée
Build application Error
Try and register MATLAB as a COM server. You should be able to do so by following either of the links: <http://www.mathworks....

plus de 13 ans il y a | 1

Réponse apportée
Debugging Visual C++ DLL used with Matlab
I am assuming you are using loadlibrary! If that's the case, then you can load your VS project (that created the C/C++ DLL) a...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
Deploying MatLab App to Java
Yes! The MCR is the MATLAB Compiler Runtime which is required for the compiled MATLAB functions to be executed. A simple exampl...

plus de 13 ans il y a | 0

Réponse apportée
Bluetooth Communication
As mentioned above, direct bluetooth communication does not work. However, if your bluetooth supports Serial Profile (SPP) that ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Do not have sufficient access permissions for the Matlab application folder to change the file /Applications/MATLAB_R2010a.app/toolbox/local/classpath.txt
Another temporary solution might be to use javaaddpath ('path to the JAR file') once MATLAB starts up. You can even put that ...

plus de 13 ans il y a | 0

Réponse apportée
articulated arm
Check this <http://www.mathworks.com/matlabcentral/answers/2753-robot-simulation-of-rrr-robot answer> for a starting point.

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
How do I write to move the line in sending serial?
Can you also try to send the carriage return directly: fprintf(serial,'%s\r',...); Also can you check with a serial moni...

plus de 13 ans il y a | 0

Réponse apportée
Capture file name from uiimport function
Well it stores it internally (its buried in the code). You can check the code by typing edit uiimport. uiimport does not really ...

plus de 13 ans il y a | 0

Réponse apportée
Getting an error thrown everytime I try to open more than one file in a matrix at a time
This is because when you select multiple files, filename becomes a cell array of file names. The operator == will error on a ce...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Skipping through text file and extracting data
There is no direct solution for this, but you code it up quite easily: % num is a vector of interested timesteps funct...

plus de 13 ans il y a | 0

Charger plus