统计数据
All
Content Feed
问题
Dynamically increasing propery size in object
Hello Everyone, I know dynamically increasing array size (without pre-allocation) is not good for performnace and there are sev...
9 months ago | 1 answer | 0
1
回答
Answered
Simulink中的顺序批处理过程万博1manbetx
In Simulink, you can not start different subsystems at different time. When you start simulation at t=0, all block in the model ...
Simulink中的顺序批处理过程万博1manbetx
In Simulink, you can not start different subsystems at different time. When you start simulation at t=0, all block in the model ...
3年前|0
Answered
How can I find out the subsystem computation time for each tilmestep?
Use *Simulation profiler* (not Solver profiler) to check profile info of blocks in the model.
How can I find out the subsystem computation time for each tilmestep?
Use *Simulation profiler* (not Solver profiler) to check profile info of blocks in the model.
3年前|1
Answered
Infinite while loop in Matlab function block
我想,您正在尝试运行循环以检查_moisture_sensor_area_1_out
Infinite while loop in Matlab function block
我想,您正在尝试运行循环以检查_moisture_sensor_area_1_out
4年前|0
Answered
Force update scope window when running rapid accelerator mode from command line
范围不会使用 * sim *命令进行更新,但它可以与 * simulationCommand *(请不要询问为什么:p)set_param('mymodel ...
Force update scope window when running rapid accelerator mode from command line
范围不会使用 * sim *命令进行更新,但它可以与 * simulationCommand *(请不要询问为什么:p)set_param('mymodel ...
4年前|1
|accepted
Answered
How can I create a Mex function from a generated C code from Simulink Coder?
万博1manbetxSimulink模型(以及生成的代码)旨在在 *求解器 *上运行,该 *求解器 *是Simulink工具的一部分,但在MATL中不存在。
How can I create a Mex function from a generated C code from Simulink Coder?
万博1manbetxSimulink模型(以及生成的代码)旨在在 *求解器 *上运行,该 *求解器 *是Simulink工具的一部分,但在MATL中不存在。
4年前|0
|accepted
Answered
整数(?)阵列中两个单位阵列reuslts的减法
阵列中的值frame_1&frame_2中的值使差异始终是一个整数(分数部分为0)。所以他们看起来...
整数(?)阵列中两个单位阵列reuslts的减法
阵列中的值frame_1&frame_2中的值使差异始终是一个整数(分数部分为0)。所以他们看起来...
4年前|1
|accepted
Answered
如何从代码生成中排除Simul万博1manbetxink块?
If you want to exclude some blocks from *Simulion and Code Generation*, then you can comment them out. As far I know, there i...
如何从代码生成中排除Simul万博1manbetxink块?
If you want to exclude some blocks from *Simulion and Code Generation*, then you can comment them out. As far I know, there i...
4年前|0
Answered
Generate a variable bus from within a mask in Simulink
You need to use evalin or assign in functions to create required variable in base worksspace from Mask workspace. For example...
Generate a variable bus from within a mask in Simulink
You need to use evalin or assign in functions to create required variable in base worksspace from Mask workspace. For example...
4年前|0
|accepted
Answered
Can I find where a Simulink.Signal object is stored based on a Data Store Read/Write in the model?
If Simulink.Signal object name is "x" >> varInfo = Simulink.findVars('MyModel','Name','x') varInfo = Vari...
Can I find where a Simulink.Signal object is stored based on a Data Store Read/Write in the model?
If Simulink.Signal object name is "x" >> varInfo = Simulink.findVars('MyModel','Name','x') varInfo = Vari...
4年前|1
|accepted
Answered
Distinguish MATLAB Library & Custom Library
libdata = libinfo(gcb);libdir =哪个(libdata(1).library,'-all');如果libdir有MATLAB安装路径,那就...
Distinguish MATLAB Library & Custom Library
libdata = libinfo(gcb);libdir =哪个(libdata(1).library,'-all');如果libdir有MATLAB安装路径,那就...
4年前|0
|accepted
Answered
convert an enum to another type of enum
如果您的枚举定义兼容,则可以使用“数据类型转换”块在Simulink中直接转换它们。万博1manbetx...
convert an enum to another type of enum
如果您的枚举定义兼容,则可以使用“数据类型转换”块在Simulink中直接转换它们。万博1manbetx...
4年前|1
|accepted
Answered
S功能构建器。使用MEX的错误:错误LNK2019未解决的外部符号'函数'函数xxx_output_wrapper中引用
S功能构建器直接构建并生产输出MEX文件。为什么您需要将它们编编译?但是....在S -...中
S功能构建器。使用MEX的错误:错误LNK2019未解决的外部符号'函数'函数xxx_output_wrapper中引用
S功能构建器直接构建并生产输出MEX文件。为什么您需要将它们编编译?但是....在S -...中
4年前|0
Answered
What is the token of the block property Function Packaging?
This is not listed in token list. %
What is the token of the block property Function Packaging?
This is not listed in token list. %
4年前|1
|accepted
Answered
如何从Simulink的工作区中的对象上工作万博1manbetx
If these objrcts are not supported by any Simulink toolbox, then you can not use them directly in Simulink. But you can extra...
如何从Simulink的工作区中的对象上工作万博1manbetx
If these objrcts are not supported by any Simulink toolbox, then you can not use them directly in Simulink. But you can extra...
4年前|0
Answered
Generate ramp signal for a certain time in simulink
您编写的功能将在仅ONEC调用中生成整个坡道(一个示例)。在Si万博1manbetxmulink中,此功能将为C ...
Generate ramp signal for a certain time in simulink
您编写的功能将在仅ONEC调用中生成整个坡道(一个示例)。在Si万博1manbetxmulink中,此功能将为C ...
4年前|0
Answered
Trigger mode and time range setting support in Simulation data inspector?
There are several options to solve your problem. Carefully check the setting in
Trigger mode and time range setting support in Simulation data inspector?
There are several options to solve your problem. Carefully check the setting in
4年前|0
Answered
Supress simulink from evaluating initialisation commands while editing
You can check model simulation status on mask initialization to decide whether to run your command or not. if ~strcmpi(get_...
Supress simulink from evaluating initialisation commands while editing
You can check model simulation status on mask initialization to decide whether to run your command or not. if ~strcmpi(get_...
4年前|0
|accepted
Answered
1个库块在Autocode中生成2个不同的功能。如何生成1个常见函数?
In Subsystem block parameter dialog, goto "Code Generation" tab and select "Function Packaging" as "Reusable function". Check...
1个库块在Autocode中生成2个不同的功能。如何生成1个常见函数?
In Subsystem block parameter dialog, goto "Code Generation" tab and select "Function Packaging" as "Reusable function". Check...
4年前|0
Answered
Display signals from the activated variant subsystem in a sleek manner
另一种方法是 *将信号登录到基本工作区和simulink数据检查器上的ANLYZE。万博1manbetx您可以仅连接 *终止 * ...
Display signals from the activated variant subsystem in a sleek manner
另一种方法是 *将信号登录到基本工作区和simulink数据检查器上的ANLYZE。万博1manbetx您可以仅连接 *终止 * ...
4年前|0
Answered
How to read a value of S function popup in C code?
就像输入和输出一样,也有s函数API可以访问参数。请检查
How to read a value of S function popup in C code?
就像输入和输出一样,也有s函数API可以访问参数。请检查
4年前|0
|accepted
Answered
仪表板Lamp Covered by Annotation
# Double click on the Lamp to open Block Parameter Window. # At the bottom of Window make "Label" = Hide in dropdown option.
仪表板Lamp Covered by Annotation
# Double click on the Lamp to open Block Parameter Window. # At the bottom of Window make "Label" = Hide in dropdown option.
4年前|0
|accepted
Answered
如何在Simulink中有多个种子进行随机生成?万博1manbetx
# In Child model --> Create Model parameter for seed. # In "Model Block" in Parent model --> Pass the seed value in "Model Arg...
如何在Simulink中有多个种子进行随机生成?万博1manbetx
# In Child model --> Create Model parameter for seed. # In "Model Block" in Parent model --> Pass the seed value in "Model Arg...
4年前|0
|accepted
Answered
仿真数据的数组存储Inspector to plot in Scope Block?
万博1manbetxSimulink数据检查器(SDI)以二进制格式将先前的仿真图存储在%temp%文件夹中(文件名username_sdi*.dm ...
仿真数据的数组存储Inspector to plot in Scope Block?
万博1manbetxSimulink数据检查器(SDI)以二进制格式将先前的仿真图存储在%temp%文件夹中(文件名username_sdi*.dm ...
4年前|0
|accepted
Answered
如何使Simulink块变常万博1manbetx量,仅执行一次?
将您的子模型放入启用子系统中。[parent.slx [启用子系统[enchild.slx]]启用子...
如何使Simulink块变常万博1manbetx量,仅执行一次?
将您的子模型放入启用子系统中。[parent.slx [启用子系统[enchild.slx]]启用子...
4年前|1
|accepted
Answered
Extract rows from a matrix input signal in TLC files
我认为您正在尝试为C代码生成插入S函数。万博1manbetxSimulink编码器(以及嵌入式编码器)处理2-D ARRA ...
Extract rows from a matrix input signal in TLC files
我认为您正在尝试为C代码生成插入S函数。万博1manbetxSimulink编码器(以及嵌入式编码器)处理2-D ARRA ...
4年前|0
|accepted