Answered
Putting data into in GUI table
You combine the data first and then set the data for the tabel. Data=[x,y]; set(handles.MaxMin_Table,'data',Data,'Column...

15 years ago | 0

Answered
add an empty line in the text file
use fprintf() fid=fopen('test.txt','wt'); fprintf(fid,'%d\n\n',mat); fclose(fid)

15 years ago | 1

| accepted

Answered
Video
aviread() movie()

15 years ago | 0

Answered
Cell Data Formatting by Character with Matlab ActiveX
I've done Excel COM server extensively but I couldn't seem to figure this out. My suspicion is that not all the Excel VB objects...

15 years ago | 0

Answered
Embedded Coder - Sequence of commands
The execution order of a Simulink block diagram is data flow driven. It is unlike the C code, which is procedural. For blocks th...

15 years ago | 0

| accepted

Answered
textscan problem 7.4.0.287 (R2007a) versus 7.11.0.587(R2010b)
I suggest you first report this issue to TMW (attach your .csv file). It sounds to me like a bug if the delimiter is specificall...

15 years ago | 0

Answered
Append an array inside a mat file without loading
The answer is no unless you've got the latest and greatest version of MATLAB. <http://blogs.mathworks.com/loren/2011/10/14/new-...

15 years ago | 0

Answered
Create empty dataset and populate it row by row
myDS =dataset({[],'F1'},{[],'F2'}); Or to see it, myDS =dataset({1,'F1'},{2,'F2'})

15 years ago | 0

Answered
multiplying polynomials with conv
That is because you have one term as x, right? So the result will not have the constant term, as you specify [1,0] for x.

15 years ago | 0

Answered
What is Simulink, and what is its relationship with MATLAB?
To sum it up, MATLAB deals with matrix operation. Simulink deals with differential equations in graphic. Simulink requires MATLA...

15 years ago | 0

Answered
error while using houghlines
So you are using the houghlines() function from C:\Users\naveen\Downloads\houghlines.m, not from matlabroot\toolbox\images\image...

15 years ago | 0

| accepted

Answered
simulation is stopped , need to continue the other part of program
Well, you need to follow the suggestion and modify your model. If you have limited numbers of blocks that have this zero-cro...

15 years ago | 0

| accepted

Answered
feeding structures into simulink busses
In your Simulink model, click menu Simulation>Configuration Parameters ..., then click Data Import/Export on the left column, lo...

15 years ago | 0

| accepted

Answered
Problem with library browser
That is the same problem I experienced very often. Although my computer didn't crash, the search was very slow and I am not awar...

15 years ago | 0

Answered
Extract numberpairs separated by brackets contained in a cell array into numeric vectors
%% a{1,1} = '( 40 1) ( 41 1) ( 42 1) ( 44 1000) ( 45 11)'; a{2,1} = '( 46 5)'; a{3,1} = '( 47 30)'; b=sscanf([...

15 years ago | 0

Answered
appending characters to matrix
The file is written correctly. It is just that the function load() can't deal with it. If you read the help of load(). It says "...

15 years ago | 0

| accepted

Answered
Import 450MB csv file
See if you can find anything useful here. <http://www.mathworks.com/support/tech-notes/1100/1107.html Avoiding 'Out of Memory...

15 years ago | 0

Answered
Superimposing one matrix on another
m2=m; m2(m2==0)=m1

15 years ago | 0

| accepted

Answered
Conversion to double from cell problem
What is nf{j,:}? If it is the first argument of textscan(), it should be a file Id or text string. That causes the error message...

15 years ago | 0

Answered
Multiplying two vectors together
You need the conv() function. <http://www.mathworks.com/help/techdoc/ref/conv.html>

15 years ago | 1

Answered
Workspace update
It's not very clear in your question. I suspect it is an issue with the function workspace and MATLAB base workspace. You are pr...

15 years ago | 0

Answered
How to perform a single Matrix calculation and store result back into a vector or matrix
# "i=1; j=2;" is not needed based on your code. # Don't use "sum" as the variable name. sum() is a built-in function. Your code...

15 years ago | 1

| accepted

Answered
Issue with fscanf not reading more than 1 row
Check whether you have any special characters at the end of each line. I have similar program. It didn't have problem. Add fclos...

15 years ago | 0

| accepted

Answered
Export GUI structures to Matlab workspace
Whatever process you do in GUI programming is likely happened in the callback function. The processed data is in the function wo...

15 years ago | 0

| accepted

Answered
Make error
Do you have a C compiler installed on your MAC computer? Also, maybe on the MATLAB in your MAC computer, you have not run the me...

15 years ago | 0

Answered
moving box
xlim() ylim() axis()

15 years ago | 0

| accepted

Answered
What's wrong with my for loop?....error is that matric dimensions must match.
The constructed matrix [x,y] and [X,Y] don't have the same size so you can't do subtraction. see rand(3,1)-rand(2,4)

15 years ago | 0

| accepted

Answered
lost signal
Are you using the Scope block to capture the signal? There is a default "limit data points to last 5000". Un-check that option o...

15 years ago | 0

| accepted

Answered
Simulink Enumeration
This video might be helpful. <http://www.mathworks.com/support/2010b/matlab/7.11/demos/enumerations-in-r2010b.html>

15 years ago | 0

Answered
selection of the right VARARGOUT
In the new version of MATLAB, you can do [~,~,c]=FUN(x). See this blog <http://blogs.mathworks.com/loren/2009/09/11/matlab-relea...

15 years ago | 0

| accepted

Load more