답변 있음
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...

거의 14년 전 | 1

답변 있음
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

거의 14년 전 | 0

답변 있음
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(...

거의 14년 전 | 0

질문


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

거의 14년 전 | 답변 수: 1 | 0

1

답변

답변 있음
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 ...

거의 14년 전 | 1

| 수락됨

답변 있음
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...

거의 14년 전 | 0

답변 있음
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));...

거의 14년 전 | 0

답변 있음
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)...

거의 14년 전 | 0

답변 있음
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...

거의 14년 전 | 0

답변 있음
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]

거의 14년 전 | 0

| 수락됨

답변 있음
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 ...

거의 14년 전 | 0

답변 있음
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.

거의 14년 전 | 0

| 수락됨

답변 있음
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...

거의 14년 전 | 0

답변 있음
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...

거의 14년 전 | 0

| 수락됨

질문


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

거의 14년 전 | 답변 수: 0 | 0

0

답변