Open the Simulation Data Inspector Simulink®Toolstrip: On theSimulationtab, underReview Results, clickData Inspector. From a model: click the streaming badge on a signal to open the Simulation Data Inspector
The Simulation Data Inspector has a new, streamlined interface for inspecting and comparing your data in Simulink®. When you compare simulation runs and signals, you can now set time tolerances. You can also save and setup session data faster with the .mldatx file extension....
Use the plot function to plot data contained in objects such as Dataset, SimulationOutput, or Signal objects in the Simulation Data Inspector.
You can plot data from a Simulation Data Inspector run referenced by aSimulink.sdi.DatasetRefobject in the Simulation Data Inspector programmatically. Simulate the modelex_sldemo_absbraketo create a run of logged signals. mdl ="ex_sldemo_absbrake"; sim(mdl) ...
这时候我们就需要用到一个强大的工具——“Simulation Data Inspector”,来帮助我们完成仿真数据的记录,它不需要我们添加任何一个模块,操作简单高效,我们看下这个工具是如何使用的。 操作 Step1:选择需要记录的信号 方法一:直接在信号线上操作 右击信号线,选择“Log Selected Signals”。选择完之后,信号线左端会出现...
Use the Simulation Data Inspector programmatic interface to access the run data. Get runIndex = Simulink.sdi.getRunCount; runID = Simulink.sdi.getRunIDByIndex(runIndex); vdpRun = Simulink.sdi.getRun(runID); Modify Signal View Settings Use the Simulink.sdi.Run object to access signals in...
Simulink® 工具条:在Simulation选项卡的Review Results下,点击Data Inspector。 点击信号上的流式标记以打开 Simulation Data Inspector 并绘制信号。 MATLAB® 命令提示符:输入Simulink.sdi.view。 控制板控件和显示 该模块在我的工作当中很少使用,不管是信号的切换或是仿真期间的暂停,这种功能很容易被脚本或其他的...
For more information, see View Streaming Data in the Simulation Data Inspector. Access Workspace Data Programmatically You can access and analyze data logged to the workspace programmatically. By default, all simulation data logged to the workspace is returned as a single Simulink.SimulationOutput ...
准备输入数据 对于轨道交通信号仿真,需要收集实际线路的坡度曲线、列车载重数据。某高校课题组采用Excel导入轨道几何参数时,会先用datacursormode工具检查数据完整性,剔除异常跳变点后再进行三次样条插值处理。创建模型文件 在Simulink起始页选择Blank Model模板,资深工程师通常会立即按下Ctrl+S将文件命名为"Motor_...
In the meantime the Simulation Data Inspector API can be used to automate it. There for see the following example code, where the most recent run gets looped through and all signals with 'Pa' unit and 'm^3/s' unit are automatically changed to...