Feeds
已提交
writeParamFile
Write a parameter file compatible with C/C++ and Python language. The file is populated with the values the mentioned variables ...
4 years 前 | 2 次下载 |
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
4 years 前
已回答
Generating a square wave
# Use the block "clock" that output to you the simulation time; # Get the rest of the division of this time by your period <htt...
Generating a square wave
# Use the block "clock" that output to you the simulation time; # Get the rest of the division of this time by your period <htt...
7 years 前 | 0
| 已接受
已回答
What is the maximum Sampling rate of ADC in Tms320F28377s when simulink model is deployed in it?
The most important, you have to read this information in the DSP datasheet. The Simulink only generate the C-code that is compi...
What is the maximum Sampling rate of ADC in Tms320F28377s when simulink model is deployed in it?
The most important, you have to read this information in the DSP datasheet. The Simulink only generate the C-code that is compi...
7 years 前 | 0
| 已接受
已回答
How to make multiple data sets an equal length
Can you clarify or post some data example? I think you just have to create the correct "X data" to plot. %length(Y1) ...
How to make multiple data sets an equal length
Can you clarify or post some data example? I think you just have to create the correct "X data" to plot. %length(Y1) ...
7 years 前 | 0
提问
Diagonal of inverted matrix
I am working with a large sparse matrix. How can I get the diagonal of the inverse of this matrix? If I use diag(inv(A)) , ...
7 years 前 | 2 个回答 | 0
2
个回答已回答
3D array manipulation Simulink
It is possible using the "Direct Lookup Table (n-D)" block, selecting it to have a "table input".
3D array manipulation Simulink
It is possible using the "Direct Lookup Table (n-D)" block, selecting it to have a "table input".
8 years 前 | 0
| 已接受
提问
3D array manipulation Simulink
I'm using the Simulink and the "Constant block" to read a 3D matrix (row,column,page) in the workspace. I want to select one pa...
8 years 前 | 1 个回答 | 0
1
个回答已回答
How to format datastamp XTick?
I solved this, founding this function datetick('x','HH:MM') The is present in the R2016a version.
How to format datastamp XTick?
I solved this, founding this function datetick('x','HH:MM') The is present in the R2016a version.
8 years 前 | 0
| 已接受
已回答
How can i cut the element in matrix?
Change this number to string, so you will can cut.
How can i cut the element in matrix?
Change this number to string, so you will can cut.
8 years 前 | 0
已回答
How can I use dll (writed in C++) in matlab?
Try this <https://www.mathworks.com/help/matlab/matlab_external/calling-functions-in-shared-libraries.html>. The language that ...
How can I use dll (writed in C++) in matlab?
Try this <https://www.mathworks.com/help/matlab/matlab_external/calling-functions-in-shared-libraries.html>. The language that ...
8 years 前 | 0
已回答
optimize my code to work better
First of all, avoid don't close the lines. Usually you don't want to print the results of each line, so use ";" at the end of ea...
optimize my code to work better
First of all, avoid don't close the lines. Usually you don't want to print the results of each line, so use ";" at the end of ea...
8 years 前 | 0
已回答
Publish Code results as PDF
One greatest way (better to publish) is to use the LaTEX instead Offices suite e use this library <http://www.howtotex.com/tips-...
Publish Code results as PDF
One greatest way (better to publish) is to use the LaTEX instead Offices suite e use this library <http://www.howtotex.com/tips-...
8 years 前 | 0
已回答
Simplify symbolic functions: remove terms
Do you want to remove a specific variable You can use new_equation = subs(equation,var,0); new_equation2 = simplify(e...
Simplify symbolic functions: remove terms
Do you want to remove a specific variable You can use new_equation = subs(equation,var,0); new_equation2 = simplify(e...
8 years 前 | 2
提问
How to format datastamp XTick?
How to format datastamp XTick in a Matlab plot to just hour:minute? I tried to use xtickformat('dd-MMM-yyyy') But this ...
8 years 前 | 1 个回答 | 0
1
个回答已回答
How I can read a CSV file with header?
The better way was use the textscan function with ";" delimiter and after replace the "," by "." before the conversion of string...
How I can read a CSV file with header?
The better way was use the textscan function with ";" delimiter and after replace the "," by "." before the conversion of string...
8 years 前 | 0
| 已接受
提问
To Workspace block inside Subsystem, using mask
How to parametrize the "Variable name" of a "To Workspace' block used inside a subsystem, using the mask of this subsystem? I...
8 years 前 | 0 个回答 | 0
0
个回答提问
How to get all permutation of a large vector?
How to get all permutation of a large vector? (50 elements) I need this to generate a Simulink simulation with each combination...
8 years 前 | 1 个回答 | 0
1
个回答已回答
Is it possible to transfer a PLECS scope output to MATLAB?
Directly, I think not. The best way is using the "To Workspace" block in Simulink.
Is it possible to transfer a PLECS scope output to MATLAB?
Directly, I think not. The best way is using the "To Workspace" block in Simulink.
9 years 前 | 0
已回答
zero crossing detection cause simulation error
I have the exactly same problem, even changing the configurations. I know that problem occur because I am using a comparative b...
zero crossing detection cause simulation error
I have the exactly same problem, even changing the configurations. I know that problem occur because I am using a comparative b...
9 years 前 | 0
已回答
Error while compiling SIMULINK code for dSpace ControlDesk..
I started to use a dSpace 1130 this week and had the same problem. I solve it reducing the sampling rate of the solver (incresin...
Error while compiling SIMULINK code for dSpace ControlDesk..
I started to use a dSpace 1130 this week and had the same problem. I solve it reducing the sampling rate of the solver (incresin...
9 years 前 | 0
提问
Conveter a string with space in a number
A have one vector returned by the function textscan which have spaces inside the numerical string. E.g.: ' 0 0 , 2 3 ' ...
9 years 前 | 2 个回答 | 0
2
个回答提问
How I can read a CSV file with header?
How I can read one CSV file with header, semicolon to separate the column and coma to float point? One example is annex. I try...
9 years 前 | 2 个回答 | 0