Fangjun Jiang
What is a model? Professional Interests: Model-Based Development
Statistics
全部
Content Feed
Answered
How to open a Simulink example using command
Most likely, you don't have the toolbox installed. Or, if installed, the path is not correctly set. Try these two commands in yo...
How to open a Simulink example using command
Most likely, you don't have the toolbox installed. Or, if installed, the path is not correctly set. Try these two commands in yo...
alrededor de 22 horas ago | 0
Answered
know the number of open unsaved(dirty) simulink files
bd=find_system('type','block_diagram','dirty','on')
know the number of open unsaved(dirty) simulink files
bd=find_system('type','block_diagram','dirty','on')
5días以前|0
|公认
Answered
Definition and Control of Variables via the Simulink Dashboard
Not sure if you are aware of the differences. The blocks in Dashboard are used to control parameter values and display signal va...
Definition and Control of Variables via the Simulink Dashboard
Not sure if you are aware of the differences. The blocks in Dashboard are used to control parameter values and display signal va...
8días以前|0
Answered
syntax cellstr Error when using double as input argument
在两个软件中比较两个函数(具有相同名称)是没有意义的,要求一个函数的行为与oth相同。
syntax cellstr Error when using double as input argument
在两个软件中比较两个函数(具有相同名称)是没有意义的,要求一个函数的行为与oth相同。
9días以前|1
Answered
选项以“ Enter”确认选项卡自动完成
MATLAB Preferences, Editor/Debugger, Automatic Completions Command Window, Automatic Completions
选项以“ Enter”确认选项卡自动完成
MATLAB Preferences, Editor/Debugger, Automatic Completions Command Window, Automatic Completions
9días以前|0
Answered
Real time, Matlab, SpeedGoat, Simulink, read write data, Solution?
To store runtime data like "A" in your example, use "Data Store Memory" block in your Simulink model. Use "Data Store Read" and ...
Real time, Matlab, SpeedGoat, Simulink, read write data, Solution?
To store runtime data like "A" in your example, use "Data Store Memory" block in your Simulink model. Use "Data Store Read" and ...
9días以前|1
|公认
Answered
matlab R2020b randperm fuction is not random
Duh! You store the result in "order" and display it again. Of course they are the same! order = randperm(10) disp(order) orde...
matlab R2020b randperm fuction is not random
Duh! You store the result in "order" and display it again. Of course they are the same! order = randperm(10) disp(order) orde...
9días以前|1
|公认
Answered
如何使用循环索引设置端口,而不是明确定义每个节点对。
setports(ckt,port_node(1,:),port_node(2,:),port_node(3,:))或b = mat2cell(port_node,ones(size(port_node,1),1),1),size(port_node,2)...
如何使用循环索引设置端口,而不是明确定义每个节点对。
setports(ckt,port_node(1,:),port_node(2,:),port_node(3,:))或b = mat2cell(port_node,ones(size(port_node,1),1),1),size(port_node,2)...
10días以前|0
|公认
Answered
查找3D阵列的第三维的每24个元素的平均值
这样的东西。尝试简单的示例,以确保尺寸,行,列是正确的。a =一个(2,3,10);b =平均值(reshape(a,2,...
查找3D阵列的第三维的每24个元素的平均值
这样的东西。尝试简单的示例,以确保尺寸,行,列是正确的。a =一个(2,3,10);b =平均值(reshape(a,2,...
10días以前|0
|公认
Answered
What do we mean by for example result=uint8(result)
change the data type to uint8 a=1 class(a) b=uint8(a) class(b)
What do we mean by for example result=uint8(result)
change the data type to uint8 a=1 class(a) b=uint8(a) class(b)
10días以前|1
Answered
How to delete inports of a bus creator using script ?
I tried this on a simple example with 8 inports. %% lh=get_param('PathToBusCreator','LineHandles'); in_lh=lh.Inport([6:8]); ...
How to delete inports of a bus creator using script ?
I tried this on a simple example with 8 inports. %% lh=get_param('PathToBusCreator','LineHandles'); in_lh=lh.Inport([6:8]); ...
11二叠纪前| 1
Answered
Error "Argument to dynamic structure reference must evaluate to a valid field name." What did I wrong?
t_1 = linspace(0,160,160);t = t_1+273.15;a = -181.587;B = 8632.13;C = 24.7981;d = 0;h12 = 1 ./(exp(a+(b./t)+(c*log(t)))+(...
Error "Argument to dynamic structure reference must evaluate to a valid field name." What did I wrong?
t_1 = linspace(0,160,160);t = t_1+273.15;a = -181.587;B = 8632.13;C = 24.7981;d = 0;h12 = 1 ./(exp(a+(b./t)+(c*log(t)))+(...
12 días ago | 1
|公认
Answered
How can we understand the "the dimensions of output port" in the sentence?
In the S-function code, you need to define the dimensions (or size) of the outport 2. You must have defined the size of outport ...
How can we understand the "the dimensions of output port" in the sentence?
In the S-function code, you need to define the dimensions (or size) of the outport 2. You must have defined the size of outport ...
12 días ago | 0
Answered
Opening .prj file with MATLAB 2016b
I think the concept of MATLAB Project does not exist in R2016b. I don't remember the exact starting version but the help documen...
Opening .prj file with MATLAB 2016b
I think the concept of MATLAB Project does not exist in R2016b. I don't remember the exact starting version but the help documen...
15días以前|1
Answered
如何将值传递到本地范围数据存储存储块而不使其全局
A local data store can still cover a large portion of a model. It is like a tree. If you place the Data Store Memory block at a ...
如何将值传递到本地范围数据存储存储块而不使其全局
A local data store can still cover a large portion of a model. It is like a tree. If you place the Data Store Memory block at a ...
15días以前|0
Answered
How can I solve the following error?
最有可能的是,您有一个称为“总和”的变量。首先清除它,然后运行您的代码清除总和;a =魔术(5);总和(A,2)
How can I solve the following error?
最有可能的是,您有一个称为“总和”的变量。首先清除它,然后运行您的代码清除总和;a =魔术(5);总和(A,2)
17 días ago | 1
Answered
Selecting multiple array elements
n = 10;a = zeros(n);b = a;k = [1 1;2 3;4 5;1 8;8 6];a(k(1,1),k(1,2))= 1;a(k(2,1),k(2,2))= 1; A(k(3,1),k(3,2))= 1;...
Selecting multiple array elements
n = 10;a = zeros(n);b = a;k = [1 1;2 3;4 5;1 8;8 6];a(k(1,1),k(1,2))= 1;a(k(2,1),k(2,2))= 1; A(k(3,1),k(3,2))= 1;...
18días以前|0
|公认
Answered
MATLAB SS功能和Simulink状态空间块之间的差异万博1manbetx
//www.tianjin-qmedu.com/help/control/ref/lti.lsim.html致电LSIM(sys,u,u,t,x0,meth ...
MATLAB SS功能和Simulink状态空间块之间的差异万博1manbetx
//www.tianjin-qmedu.com/help/control/ref/lti.lsim.html致电LSIM(sys,u,u,t,x0,meth ...
18días以前|0
Answered
Programmatically get propagated datatype of a block
诸如模型([],[],[],'compile')get_param('blockpath','compileddatate')模型([],[],[],[],'term')之类的东西您可以使用...
Programmatically get propagated datatype of a block
诸如模型([],[],[],'compile')get_param('blockpath','compileddatate')模型([],[],[],[],'term')之类的东西您可以使用...
19días以前|0
Answered
Create a time vector
我对您以前问题的答案是答案。只需将秒(1)更改为秒(1/fs)https://www.tianjin-qmedu.com/matlabcent ...
Create a time vector
我对您以前问题的答案是答案。只需将秒(1)更改为秒(1/fs)https://www.tianjin-qmedu.com/matlabcent ...
23 días ago | 0
Answered
从字符串中的点分离从单元格数来创建结构
如果您的问题归结为是否可以将“ em1500.eta_t.x”成为字段名称,那么ANSER是No。这是无效的字段n ...
从字符串中的点分离从单元格数来创建结构
如果您的问题归结为是否可以将“ em1500.eta_t.x”成为字段名称,那么ANSER是No。这是无效的字段n ...
23 días ago | 0
Answered
Create a time array
val=['17-10-58_086' '17-11-09_923'] StartEnd=datetime(val,'InputFormat','HH-mm-ss_SSS') TimeVector=StartEnd(1):seconds(1)...
Create a time array
val=['17-10-58_086' '17-11-09_923'] StartEnd=datetime(val,'InputFormat','HH-mm-ss_SSS') TimeVector=StartEnd(1):seconds(1)...
23 días ago | 0
Answered
Simulink model not plotting my Sine
我了解这可能只是学习旧的代码工具箱和s功能的练习,但是有几件事是错误的...
Simulink model not plotting my Sine
我了解这可能只是学习旧的代码工具箱和s功能的练习,但是有几件事是错误的...
23 días ago | 0
|公认
Answered
Why Unrecognized function or variable 'set_point'?
您正在寻找的变量“ set_point”,在“ out.set_point”中。因此,在您的代码中,将“ set_point”替换为“ out.set_p ...
Why Unrecognized function or variable 'set_point'?
您正在寻找的变量“ set_point”,在“ out.set_point”中。因此,在您的代码中,将“ set_point”替换为“ out.set_p ...
23 días ago | 1
Answered
运行命令提示符后如何按任何键继续
This is an old technique. Run command as TDF2CSV.exe file2convert.TDF << Dummy.txt where Dummy.txt is a text file which contai...
运行命令提示符后如何按任何键继续
This is an old technique. Run command as TDF2CSV.exe file2convert.TDF << Dummy.txt where Dummy.txt is a text file which contai...
25días以前|0
Answered
why I'm getting error in MATLAB function block coding showing that parse error?
Change the last line [d1 d2] = [Po P1ref] to d1 = Po; d2 = P1ref; or [d1 d2] =deal(Po, P1ref)
why I'm getting error in MATLAB function block coding showing that parse error?
Change the last line [d1 d2] = [Po P1ref] to d1 = Po; d2 = P1ref; or [d1 d2] =deal(Po, P1ref)
30días以前|0