Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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

plus de 13 ans il y a | 0

Réponse apportée
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(...

plus de 13 ans il y a | 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...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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 ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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));...

plus de 13 ans il y a | 0

Réponse apportée
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)...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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]

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 13 ans il y a | 0

Réponse apportée
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.

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

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...

plus de 13 ans il y a | 1 réponse | 0

0

réponse