Answered
uitable formatting (cell borders, color,comma style)
Open the GUI with GUIDE first, then double click on the table. A window named property inspector will open up. Property inspe...

13 years ago | 1

Answered
UItable -- plotting the data in the centre of the table
We should edit the cells that make the table... See: http://www.mathworks.com/matlabcentral/answers/2928

13 years ago | 0

Answered
How do i construct this matrix with else and elseif statements? Or should i be using cases?
N=10; A = zeros(N,N); for i=1:N for j=1:N if i=j A(i,j)=5; end if i+1=j A(...

13 years ago | 0

Question


How to make the gain of the Discrete Derivative block tunable?
Are the "Gain Values" of the "Discrete Derivative" and "Discrete Time Integrator" blocks tunable? In my model these gains are...

13 years ago | 1 answer | 0

1

answer

Answered
What are the "Real-Time Model" objects for in simple code generated by embedded coder
extra code is generated according to the "Configuration Parameter"'s setting. For example, Go to the Interface pane and check ...

13 years ago | 1

| accepted

Answered
Changing SimPowerSystem Block Parameter during simulation runtime
If this block's parameter is tunable, then all you need to do is to define your parameter in MATLAB's base workspace and to tune...

13 years ago | 0

Answered
Cell value in workspace into a matrix ! HOW?!
Assuming that the name of the cell is coeffs. If you want to convert a cell to matrix, do this: A = zeros(size(coeffs));...

13 years ago | 0

Answered
how can I read a text file line by line containing titles of the research papers?
Hi shabnam jan, There is this command in MATLAB where you can read from a text file. It is like this: text = fileread(filename)...

13 years ago | 0

Answered
developing GUI using guide to interact with simulink model
You can trigger the GUI with its name (whatever name you saved it with) as long as the GUI's m-file and figure are in MATLAB pat...

13 years ago | 0

Answered
Define the ODE equals the matrix. Runge Kutta 4
Change xinital= [ 0 0 -2 0.4] to xinital= [ 0 0 -2 0.4]' or xinital= [ 0;0;-2;0.4]

13 years ago | 0

| accepted

Answered
How can I do numerical simulation in Matlab?
I would do it in Simulink! For example for the first two equations, you can create signals named C1(t), i1(t) and E(t) and ...

13 years ago | 0

Answered
Write a script that prompts the user to input a function, f(x),
In the first line of your code you cannot say x=linspace(a,b,N); because a, b and N are not yet defined there.

13 years ago | 0

| accepted

Answered
Help writing a tracking code for 1 hour of data at a time
you may want to use these commands: save data.mat and later say load data.mat you can put them in a for loop for exa...

13 years ago | 0

Answered
Outputting 3D Arrays to Excel for plotting
1- I think the dimension depends on the dimension of your parameters, i.e. f, real_inc,... 2- try using this format: fprin...

13 years ago | 0

| accepted

Question


segmentation error when I use close_system in my sl_customization file
I started creating my custom menus in Simulink using a custom sl_customization.m file. In one of the menus I need to close the m...

13 years ago | 0 answers | 0

0

answers