对于R2009b之前的版本,请查看SIMSET文档.它允许 您设置"SrcWorkspace"属性 转换为当前"以使用您的数据 功能. For releases before R2009b, look at the SIMSET documentation. It allows you to set the "SrcWorkspace" property to "current" to use the data from your function. http://www.mathworks.com/support/solutions/en/data/1-1BWDA/?solution = 1-1BWDA 在较新的版本中,不赞成使用此选项,因为它不兼容 使用并行计算工具箱 和PARFOR.我推荐的是: In newer releases, this option is deprecated because it is not compliant with the Parallel Computing Toolbox and PARFOR. What I recommend is: http://www.mathworks.com/support/solutions/en/data/1-ASPEIV/?solution = 1-ASPEIV 这篇关于如何在不将Simulink模型输入工作空间的情况下将其提供给Simulink模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-16 11:03