Answered
Xlsread and Strcuture
To answer your first question - I don't think there is a MATLAB function to help with this, but you might be able to use the <ht...

15 years ago | 0

Answered
where is emlmex?
I believe you need to have a license for either Simulink or Fixed-Point Toolbox to have EMLMEX functionality. It is not register...

15 years ago | 1

Answered
from workspace to m.file
You might find it useful to read the documentation on <http://www.mathworks.com/help/toolbox/simulink/ug/brsk2gr.html Runnin...

15 years ago | 0

Answered
GUI read and write data from workspace
If inter and W are obtained from an edit box, why do you attempt to evaluate them in the base workspace? You would use something...

15 years ago | 0

Answered
I can not find library for" F2808 " which is > Target For TI C2000
You will need to have your MATLAB License Administrator (probably your Sys Admin) contact <http://www.mathworks.com/company/abou...

15 years ago | 0

| accepted

Answered
How do I model a time series in MATLAB using ARMA?
Is this what you're looking for: <http://www.mathworks.com/help/techdoc/ref/timeseriesclass.html timeseries>

15 years ago | 2

Answered
To workspace Block and To Workspace Signal don't exist in workspace
Again, as Seth pointed out, file.mat is not available until after the simulation is paused/stopped. Instead, feed the signal tha...

15 years ago | 0

Answered
Matlab internal error problem
You may want to contact the author of the toolbox (this doesn't look like a function from MathWorks toolboxes). The crash is occ...

15 years ago | 0

Answered
what is a valid handle for Matlab?
Although the field handles.PlotFigure is not deleted, the code verifies the validity of the handle using the ISHANDLE function. ...

15 years ago | 2

| accepted

Answered
reading ASCII data from a file from s function
Assuming that you are using Jarrod's code almost exactly (only with the stated modification to mdlOutputs), I see two issues wit...

15 years ago | 0

Answered
C# call the Matlab function to compute the nonlinear programming problem?
One option is to start MATLAB up as a <http://www.mathworks.com/help/techdoc/matlab_external/brd0v3w.html COM server> from your ...

15 years ago | 0

Answered
Embedded Function Blocks and Target C2000
In general, Embedded MATLAB blocks are supported for code generation (unless you are calling functions that cannot generate code...

15 years ago | 0

Answered
CPM toolbox try to compile mex maxSparseMEX.c => get error of Could Not Find C:\Program Files\MATLAB\...\maxSparseMEX.lib or C:\Program Files\MATLAB\...\maxSparseMEX.exp
To ensure that this is not a problem with MEX, please try: >> cd C:\work >> copyfile([matlabroot '\extern\examples\ref...

15 years ago | 0

Answered
Simulink and the I2C interface
I don't have experience with ECRobot, but have written drivers for other boards in the past. Typically, device drivers are imple...

15 years ago | 0

Answered
create a web based application using java
MATLAB Builder JA has the <http://www.mathworks.com/help/toolbox/javabuilder/ug/brb6pfe-1.html WebFigures feature> which allows ...

15 years ago | 0

| accepted

Answered
Matlab r2008a and CCS v4
The official supported version with R2008a was Code Composer Studio 3.3 - since R2008a was not tested with CCS v4, there is no g...

15 years ago | 0

Answered
about c code
Do you have source/object files, or shared libraries? If you have source/object files, you can write a <http://www.mathworks....

15 years ago | 0

Answered
pll synthesizer in simulink
# You could use any of the classic frequency divider circuits and model them in Simulink (I don't have any specific recommendati...

15 years ago | 0

Answered
mex -g
It looks like you modified csfunc.c and add a main() function - note that S-functions cannot have a main() entry point.

15 years ago | 0

| accepted

Answered
Access to the Matlab / simulink API
Starting MATLAB as an <http://www.mathworks.com/help/techdoc/matlab_external/brd0v3w.html automation server> from your .NET appl...

15 years ago | 0

Answered
Intel C++ and Matlab Compatibility
Actually, it appears that the Intel compilers are only supported on Windows. There is a different set of supported compilers for...

15 years ago | 0

Answered
Running MATLAB automatically
If you are able to program an interrupt, you can use the "matlab -r <filename>" option to have MATLAB run a specific script by i...

15 years ago | 0

Answered
GUI interface with arduino
You could try using a persistent variable to store that last state, and toggle that each time the callback is fired: persis...

15 years ago | 0

Answered
Undefined function or method 'sim' for input arguments of type struct
<http://www.mathworks.com/support/solutions/en/data/1-16DQNH/index.html Solution 1-16DQNH> might be of help.

15 years ago | 2

| accepted

Answered
How to determine if a string can be converted to a numerical value?
[num, status] = str2num(str) status=0 if conversion is not successful, and 1 if it is.

15 years ago | 3

Answered
How to compile a mat file?
Have you added the MAT-file to the CTF archive? If using the mcc command, use the -a option to specify the filename. For exam...

15 years ago | 0

| accepted

Answered
Variable limits for integrator in SIMULINK
I don't think you can do this with an integrator block - but the "Discrete FIR Filter" should let you implement a moving average...

15 years ago | 0

Answered
Selecting model through command window in Model based Design
Why not use saveas to create a copy of a system? If you have to do this programmatically, I'm not aware of a straightforward tec...

15 years ago | 0

Answered
How can I save data to a csv file from a simulation in simulink without use the Matlab workspace?
There is no way to directly export simulation results to a CSV file, but you can use the "To File" block to log to disk as a MAT...

15 years ago | 1

Answered
viptrackpeople with hdl-coder
Access the VIP blockset demos using the following command: demo('blockset','video and image processing') Look for the de...

15 years ago | 0

Load more