matlab simulink workspace描述

本文详细介绍了MATLAB中的基本工作空间、调用者工作空间及函数工作空间的概念,并解释了如何在调试M文件时访问这些工作空间。此外,还提供了关于Simulink工作空间变量的报告信息,包括变量所在的工作空间以及使用这些变量的模块。


1.The MATLAB base workspace is the workspace that is seen from the MATLAB command line (when not in the debugger). The caller workspace is the workspace of the function that called the currently running function. Note that the base and caller workspaces are equivalent in the context of a function that is invoked from the MATLAB command line.


2.When you run M-files, MATLAB assigns each function its own workspace, called the function workspace, which is separate from the base workspace in MATLAB. To access the base and function workspaces when debugging M-files, use the Stack field in the Workspace browser. The Stack field is only available in debug mode and otherwise appears dimmed. The Stack field is also accessible from the Editor and the Variable Editor.



3.Simulink Workspace Variable


Description


This component provides information about variables in the Simulink workspace (the base workspace and the model workspaces). The report includes one or both of these kinds of information about each variable:

The workspace in which the variable is located

The blocks that use each variable
Options


Show workspace: For each variable listed, report on whether the variable is in the base workspace or in a model workspace.

Show blocks that use variable: For each variable listed, include what blocks use that variable.




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值