Answered
Can anyone help me with the water level tank (sltank) example available on Matlab?
There is user data "hidden" in the figure 'tankdemo'. The user data gets extracted into the variable 'yData' by the line yD...

14 years ago | 1

| accepted

Answered
Difference between .m and .mat files
* MATLAB *code* is in files with extension |.M|. * MATLAB *data* is in files with extension |.MAT|. Thus, you can't always "...

14 years ago | 4

| accepted

Answered
System time Matlab
now

14 years ago | 1

Answered
ask for matlab script to give only the entries not in other file
x=[1222 1232 3310 2223]; y=[5555 1222 3310 1212]; setdiff(x,y)

14 years ago | 0

Answered
To save whole workspace in a file(possibly excel)
I have nothing elaborated yet, but I am thinking of using whos and then looping through all variables and use XLSWRITE. You cert...

14 years ago | 0

| accepted

Answered
Appending data into mat file without loading
You can append additional variable to the MAT file with save -append but you can't alter a saved variable. You may want...

14 years ago | 0

Answered
Segmentation violation detected
The crash refers to mkl.dll, the "Intel Math Kernel Library". I found one bug related to this and also other issues that can ...

14 years ago | 0

Answered
regarding .wav file
% Create WAV file in current folder for this test load handel.mat hfile='handel.wav'; wavwrite(y, Fs, hfile) clear...

14 years ago | 0

| accepted

Answered
Invalid MEX-file, invalid win32 application
It might be releated to the architecture. MEXW32 is for Windows 32 Bit. Maybe you use a Win XP for 64 Bit.

14 years ago | 0

Answered
Take a vector calculated in one m-file into another
Simple: Both MATLAB files are scripts (not starting with FUNCTION). You variable e will be simply available in the other file. ...

14 years ago | 1

Answered
Converting hh:mm:ss into seconds
Is this what you are looking for? t='14:35:59.812'; [Y, M, D, H, MN, S] = datevec(t); H*3600+MN*60+S

14 years ago | 6

| accepted

Answered
Run Length Matrix
In most cases, authors of user contributed files are very quick in responding. Did you try contacting <http://www.mathworks.com/...

14 years ago | 0

| accepted

Answered
Variable is changing when being read into a function
Indeed, there is not enough information for a real answer. Some ideas: 1. Somewhere between function [x] = somefuncti...

14 years ago | 1

Answered
Restriction when indexing large arrays
I'd say this question is a side answer from <http://www.mathworks.de/support/solutions/en/data/1-5193IK/index.html this solution...

14 years ago | 0

| accepted

Answered
unknown matlab error
You are attempting to create a matrix with more elements than the maximum number of elements allowed in MATLAB. Common causes...

14 years ago | 0

Answered
extract frames from mgpeg video
I am confident, you will find this <http://www.mathworks.de/help/techdoc/import_export/f5-132080.html part of the documentation>...

14 years ago | 0

| accepted

Answered
Using JavaBuilder
You may find this <http://www.mathworks.de/matlabcentral/answers/9226-compiling-a-matlab-builder-for-java-class-for-an-older-ver...

14 years ago | 0

Answered
Simulink scope autoscale
Typically, when users describe this, they are happy with the Time Scope Block from DSP System Toolbox. Here is <http://www.mathw...

14 years ago | 0

Answered
round numeric 0
This is actually done automatically if it is very very very small. But it looks the veryveryvery is different for you. The ...

14 years ago | 0

| accepted

Answered
Matlab2006 a installation issues on Acer laptop with Windows xp
Yes, contacting installation support is in most cases the better than asking on MATLAB Answers: http://www.mathworks.com/comp...

14 years ago | 0

Answered
MATLAB gives different results when compiled vs interactive
I am collecting reasons for those effects and like to link it to <http://www.mathworks.com/matlabcentral/answers/438-why-are-com...

14 years ago | 0

| accepted

Answered
"exist" command usage question
I'd say once you know the file exits on the path, the WHICH command will also be able to find the file - and return the path. On...

14 years ago | 0

Answered
cftool init problem
Although my guess is Walter's suggestion of name conflicts is correct, you should exclude a licensing issue. Not having a licens...

14 years ago | 0

Answered
MATLAB Permission
There is no need to enable saving or so. This will be just related to the directory / folder you attempt writing to. Mostly, thi...

14 years ago | 1

Answered
Hiding model content
Most customers create an S-Function from the part of the model that contains intellectual property by auto-generating the s-func...

14 years ago | 1

Answered
Installing Toolboxes
First of all, yes the VER command returns all successful installed products. I have seen cases where the installtion of toolboxe...

14 years ago | 0

Answered
Create a standalone application on linux
Please provide the output of the command ver Then we can see if the needed products are installed.

14 years ago | 0

Answered
Sorting a Cell Array
It is not clear to me what your cell array really looks like, as your example is not valid, but the SORTROWS command should work...

14 years ago | 0

Answered
Program not converging after the first execution
This sounds like there are issues with variables (names) that are used for your calculation, but are also overwritten. Thus diff...

14 years ago | 0

| accepted

Answered
How to make autorun and auto exit
Just call the B file at the line of file A where you need it. If the file name is my_script.m, the command is my_script If y...

14 years ago | 0

Load more