内容提要
回答
Creating a simulink signal with Boolean datatype
您所做的是正确的。但是,如果连接到Inport Block“ In8”的输入信号不是布尔值,则可能会导致错误。...
Creating a simulink signal with Boolean datatype
您所做的是正确的。但是,如果连接到Inport Block“ In8”的输入信号不是布尔值,则可能会导致错误。...
5 días ago | 1
|accepted
回答
How can I show NaN as Error not Exist?
我想真正的内涵就像下面的代码。If ErrorT is initially NaN, then "ERROR DOES NOT EXIST" will be displayed. If...
How can I show NaN as Error not Exist?
我想真正的内涵就像下面的代码。If ErrorT is initially NaN, then "ERROR DOES NOT EXIST" will be displayed. If...
6 días ago | 0
回答
Accessing Mixed-Signal Blockset in Simulink
R2019a引入了混合信号阻滞。它是一个单独的工具箱,需要单独获取。如果你不...
Accessing Mixed-Signal Blockset in Simulink
R2019a引入了混合信号阻滞。它是一个单独的工具箱,需要单独获取。如果你不...
6 días ago | 0
回答
Clock/pulses controller in Simulink
If you want to adjust the width or phase while the simulation is running, then you can use the Slider block. Add the Slider bloc...
Clock/pulses controller in Simulink
If you want to adjust the width or phase while the simulation is running, then you can use the Slider block. Add the Slider bloc...
6 días ago | 0
回答
How to Make a Simulink Scheduler for a Matlab Block Function to run each 40 ms of simulation?
Use a Function-call Generator block, specify the sample time. Put the MATLAB Function block inside a triggered subsystem, specif...
How to Make a Simulink Scheduler for a Matlab Block Function to run each 40 ms of simulation?
Use a Function-call Generator block, specify the sample time. Put the MATLAB Function block inside a triggered subsystem, specif...
7 días ago | 0
|accepted
回答
如何将字符串从simulink mask传递到matlab万博1manbetx功能块
使用R2018A(带有字符串恒定块)或更高版本,您可以额外努力做到这一点。添加一个“字符串constnat” blo ...
如何将字符串从simulink mask传递到matlab万博1manbetx功能块
使用R2018A(带有字符串恒定块)或更高版本,您可以额外努力做到这一点。添加一个“字符串constnat” blo ...
8 días ago | 0
回答
有没有办法将输入信号的名称传递给Simulink中的MATLAB功能块?万博1manbetx
Not through passing but you can get it through get_param(). Note that some functions are not supported for code generation. fun...
有没有办法将输入信号的名称传递给Simulink中的MATLAB功能块?万博1manbetx
Not through passing but you can get it through get_param(). Note that some functions are not supported for code generation. fun...
8 días ago | 0
回答
万博1manbetxSimulink万博1manbetx不支持用于记录多派数据的“数组”格式。将范围的记录格式更改为“数据集”,“结构”或“结构随时间”。
请参阅文档Web(FullFile(DocRoot,'Simulink/万博1manbetxgui/format.html'))要使用数组格式,所有记录的状态和输出必须为:...
万博1manbetxSimulink万博1manbetx不支持用于记录多派数据的“数组”格式。将范围的记录格式更改为“数据集”,“结构”或“结构随时间”。
请参阅文档Web(FullFile(DocRoot,'Simulink/万博1manbetxgui/format.html'))要使用数组格式,所有记录的状态和输出必须为:...
9 días ago | 0
回答
隐式标量扩展在MATLAB功能块中不起作用。
好消息。它似乎在R2021B中可用,但在R2021a中不可用。检查https://www.tianjin-qmedu.com/help/releases/r2021b/coder/u ...
隐式标量扩展在MATLAB功能块中不起作用。
好消息。它似乎在R2021B中可用,但在R2021a中不可用。检查https://www.tianjin-qmedu.com/help/releases/r2021b/coder/u ...
9 días ago | 0
回答
使用MATLAB函数的#Define值
You might need to add the C header file and source C code file to the model, Ctrl+E, Simulation Target, Follow the example in...
使用MATLAB函数的#Define值
You might need to add the C header file and source C code file to the model, Ctrl+E, Simulation Target, Follow the example in...
9 días ago | 0
回答
Trying to read a new licence into LMTool on Linux
Name primary license file as license.dat, name secondary license file as xxx.lic. Put both in matlabroot\licenses folder and the...
Trying to read a new licence into LMTool on Linux
Name primary license file as license.dat, name secondary license file as xxx.lic. Put both in matlabroot\licenses folder and the...
12días以前|0
回答
Difference between successive rows in a column
a=magic(6); b=diff(a(:,4)) a(2:end,end+1)=b
Difference between successive rows in a column
a=magic(6); b=diff(a(:,4)) a(2:end,end+1)=b
12días以前|0
回答
如何使此字符串a ='(0 0 0)'到双b = [0 0 0]?
a = '(12 2.8 1.22)'; b=sscanf(a,'(%f %f %f)') b=transpose(sscanf(a,'(%f %f %f)'))
如何使此字符串a ='(0 0 0)'到双b = [0 0 0]?
a = '(12 2.8 1.22)'; b=sscanf(a,'(%f %f %f)') b=transpose(sscanf(a,'(%f %f %f)'))
12días以前|0
回答
通过工具箱共享自定义Simul万博1manbetxink库
//www.tianjin-qmedu.com/help/matlab/matlab/matlab_prog/create-and-share-custom-matlab-toolboxes.html https://www.tianjin-qmedu.com/help/ ...
通过工具箱共享自定义Simul万博1manbetxink库
//www.tianjin-qmedu.com/help/matlab/matlab/matlab_prog/create-and-share-custom-matlab-toolboxes.html https://www.tianjin-qmedu.com/help/ ...
12días以前|0
回答
Compare all the signals from 2 data inspector or .mat files
This is exactly what Simulink Data Inspector does. Follow the documentation and examples. //www.tianjin-qmedu.com/help/simul...
Compare all the signals from 2 data inspector or .mat files
This is exactly what Simulink Data Inspector does. Follow the documentation and examples. //www.tianjin-qmedu.com/help/simul...
12días以前|0
回答
如何使用未知子系统名称选择一个子系统来转换tomodelreference?
Since you have only one Subsystem block in the root level of the model, this will return this Subsystem. find_system(args,'Sear...
如何使用未知子系统名称选择一个子系统来转换tomodelreference?
Since you have only one Subsystem block in the root level of the model, this will return this Subsystem. find_system(args,'Sear...
12días以前|1
|accepted
回答
将时间延迟设置为0时禁用TransportDelay警告
I understand the convenience of your using the TransportDelay block. When there is no delay, simply set the delay to be zero. Bu...
将时间延迟设置为0时禁用TransportDelay警告
I understand the convenience of your using the TransportDelay block. When there is no delay, simply set the delay to be zero. Bu...
13días以前|0
回答
FPRINTF使用错误
use single quote mark, not double quote mark a=1.2; fid=1 fprintf(fid, 'this is my number %f', a)
FPRINTF使用错误
use single quote mark, not double quote mark a=1.2; fid=1 fprintf(fid, 'this is my number %f', a)
13días以前|0
回答
Simulink "globals" not working as expected
"global" data store is not meant for saving data between different simulation runs. Refer to this: web(fullfile(docroot, 'sim...
Simulink "globals" not working as expected
"global" data store is not meant for saving data between different simulation runs. Refer to this: web(fullfile(docroot, 'sim...
16días以前|0
|accepted
回答
Masked Subsystem: How to pass a double vector to a constant?
我不知道为什么这个古老的问题突然出现在顶部。我相信这个问题的答案是一个技巧。使用mat2str()...
Masked Subsystem: How to pass a double vector to a constant?
我不知道为什么这个古老的问题突然出现在顶部。我相信这个问题的答案是一个技巧。使用mat2str()...
16días以前|0
回答
using a stateflow as a subsystem reference with some parameters to be editted after instantiation
创建您的状态流图并创建参数变量,在状态流图中添加掩码,以带上所有这些参数变量...
using a stateflow as a subsystem reference with some parameters to be editted after instantiation
创建您的状态流图并创建参数变量,在状态流图中添加掩码,以带上所有这些参数变量...
19días以前|0
|accepted
回答
How do I manage the Model configuration parameters when using variant with several system targets ?
You can have multiple model configuration sets saved with the model and switch them. It can be done manully or through API. htt...
How do I manage the Model configuration parameters when using variant with several system targets ?
You can have multiple model configuration sets saved with the model and switch them. It can be done manully or through API. htt...
21 días ago | 0
|accepted
回答
how to find index from matrix in another matrix?
%C is the logical index matrix. A=zeros(2,3,4); A(:,:,4)=4; A(:,3,4)=5; C=or(A==4,A==5) %To use it to select correspondin...
how to find index from matrix in another matrix?
%C is the logical index matrix. A=zeros(2,3,4); A(:,:,4)=4; A(:,3,4)=5; C=or(A==4,A==5) %To use it to select correspondin...
22días以前|0
回答
知道打开未保存的(脏)simulink文件的数量万博1manbetx
bd = find_system('type','block_diagram','dirty','on')
知道打开未保存的(脏)simulink文件的数量万博1manbetx
bd = find_system('type','block_diagram','dirty','on')
ALREDEDOR de 1 mes前|0
|accepted
回答
使用Double作为输入参数时的语法细胞误差
There is no point comparing two functions (with the same name) in two software and demanding one behaves the same way as the oth...
使用Double作为输入参数时的语法细胞误差
There is no point comparing two functions (with the same name) in two software and demanding one behaves the same way as the oth...
ALREDEDOR de 1 mes前|1