https://es.mathworks.com/matlabcentral/answers/questions?product_base_code%5B%5D=万博1manbetxSimulink +实时 MATLAB的答案——新问题 2023 - 05 - 05 - t11:39:57z 标签:es.mathworks.com, 2005:问题/ 1958549 2023 - 05 - 05 - t11:39:57z 2023 - 05 - 05 - t11:39:57z 万博1manbetx仿真软件RT -太多的延迟getsignal () 大家好,我们正面临着一个精致优雅的情况。我们有Speedgoat设置,现工作很好,我们使用执行边境测试我们的ECU。我们试图设置几个故障ECU,通过发送各种输入无效数据由于RT目标。然而当我们想计算检测时间(如:检测到故障时的时间戳我们的ECU -我们注入故障时的时间戳),我们需要询问的RT目标getsignal方法,这方法需要(在我们的测试后)约50 ms得到答案,女巫对我们来说真的是太久的……有什么方法来执行这种测试?或一种加快getsignal()的答案?非常感谢你的帮助问候 尼古拉。 https://es.mathworks.com/matlabcentral/profile/authors/30060636 标签:es.mathworks.com, 2005:问题/ 1899495 2023 - 01 - 24 t09:57:09z 2023 - 05 - 04 - t09:57:26z 使用ssh / sftp Speedgoat目标应用程序部署 你好,我们有一个Speedgoat目标计算机上运行QNX(仿真软件实时R2021b)和Windows电脑主机Matla万博1manbetxb。我们成功地建立模型和生成一个.mldatx文件。然后我们使用Matlab GUI和部署它运行它。一切都很好。这个问题当我们采取相同的.mldatx文件来自Windows电脑和手动转让、安装和加载Speedgoat。事实上,加载模型后,后者未能初始化给“初始化错误。”Here is what we did to load the model: We transferred the .mldatx from Windows to Speedgoat (/home/mldatx/) On the Speedgoat's terminal, we installed the model using: slrealtime install --AppName mymodel.mldatx We loaded the model using: slrealtime load --AppName mymodel Is our process correct? Could you please help us deploy the model without using Matlab or its engine? Thank you! 米歇尔Africano https://es.mathworks.com/matlabcentral/profile/authors/19811027 标签:es.mathworks.com, 2005:问题/ 1730915 2022 - 05 - 31 - t14:23:34z 2023 - 05 - 01 - t08:22:01z 使用两种不同的MATLAB版本之间的ROS沟通 你好,我一直在试图使用ROS发布和订阅块的两个不同版本之间的交流MATLAB (R2018a和R2022a)在同一台计算机上(同一台机器)。事情是这样的,我试图运行实验硬件系统兼容R2018a或更低。然而,我希望实现强化学习系统。从R2019a开始RL工具箱是可用的。因此,我训练使用R2022a RL代理,现在想要在硬件上部署培训代理(只有通过R2018a接口)。系统模型、硬件接口和RL代理模型。万博1manbetx所以以下描述各自的MATLAB仿真软件模型的版本。万博1manbetx我打算使用ROS发布块R2018a(硬件兼容的版本)和相应的订阅块R2022a (RL代理训练有素的版本),两个版本在同一台计算机上(我的笔记本)。我认为这种方式,我能够与硬件通信使用R2018a和接待美国从硬件系统,我可以发布一个ROS的话题。在这之后,我想要订阅的块在R2022a,订阅,ROS主题和接收系统的状态,然后可以喂RL代理。 This RL agent can then give out actions, which I planned to communicate the same way (in reverse manner) to the hardware. However, after a lot of tries and going through multiple solutions, I have not been able to figure this out. Any suggestions or ideas are welcome. 穆罕默德Mohiuddin https://es.mathworks.com/matlabcentral/profile/authors/22629703 标签:es.mathworks.com, 2005:问题/ 1694035 2022 - 04 - 11 - t18:34:27z 2023 - 04 - 29 - t00:22:17z 万博1manbetx实时仿真软件探险家不开 你好,当我运行仿真软件实时资源管理器万博1manbetx命令(slrtexplr)我得到以下错误。我安装了实时仿万博1manbetx真软件MATLAB仿真软件编码器,编码器。有谁有过这个问题吗?使用desktop.xpcdesktop slrtexplr错误。getInstance消息:对象的引用未设置到对象的实例。来源:兆瓦。桌面HelpLink:错误slrtexplr desktop.xpcdesktop.getInstance(第8行) 列昂尼德•Guerchkovitch https://es.mathworks.com/matlabcentral/profile/authors/23822822 标签:es.mathworks.com, 2005:问题/ 450874 2019 - 03 - 19 - t05:19:49z 2023 - 04 - 27 - t14:46:52z 万博1manbetx仿真软件实时与rs - 232(接收数据) 我想模型仿真软件项目我的数据来自哪里RS232 万博1manbetx(UART USB) MATLAB仿真软件的实时模型。我希望看到我的数据通过UART范围。我用脚板RS232参数组是董事会设置(com1 /没有)。使用MATLAB函数(DC = fcn (u)和直接通过u值范围。我得到错误而构建项目(“外部模式打开协议连接命令失败”)。请查收附件关于错误和我下面的仿真。 截应 https://es.mathworks.com/matlabcentral/profile/authors/9337475 标签:es.mathworks.com, 2005:问题/ 1948613 2023 - 04 - 17 - t18:08:37z 2023 - 04 - 27 - t09:23:01z 有可能日志数据之前在一定时间内,在一个滚动的基础上,在一个模拟运行,文件日志块? 我希望有一种方法使用一个文件日志记录数据块,只有指定的时间,在一个滚动的基础上。在我的例子中,我想日志前两分钟的数据在任何给定的时间。我知道这不是可行的香草,所以我想我要做某种类型的操作或SDI的模型。当我们运行我们的模拟,它通常运行在单个运行18个小时,我们需要能够记录约300双的数据点5 ms。我们显然不希望为整个运行记录数据,很快会得到相当大,传输和处理数据会变得很麻烦。我们也只需要记录故障排除某些事件发生的时候。 格雷沙姆 https://es.mathworks.com/matlabcentral/profile/authors/26813345 标签:es.mathworks.com, 2005:问题/ 92585 2013 - 07 - 30 - t17:45:00z 2023 - 04 - 27 - t06:54:26z 为什么我收到错误消息“安装编译器没有发现”当编译一个模型为xPC目标5.2 (R2012a) ? 当试图编译我的模型对于xPC目标应用程序,我收到错误消息错误:安装编译器没有发现。特定的仿真模式,以及基于主机的编码器的构建要求编译器被安装。请安装一个支持的编译器为列在这个版本:无法找到指定编万博1manbetx译器为xPC目标MATLAB编译器安装后必须重新启动以下解决方法我已经尝试:1。我选择了一个编译器(SDK 7.1)的墨西哥人设置的注册和验证编译器信息通过执行命令“mex.getCompilerConfigurations”。2。我也执行命令的xpcsetcc设置”选择SDK 7.1的编译器xPC目标。相同的编译器和编译器中指定的路径是xPC浏览器GUI。3所示。我有系统环境变量“VS100COMNTOOLS”,它有一个非空值的“C: \ Program Files \ Microsoft Visual Studio 10.0 \ Common7 \工具\ '。4所示。构建xPC演示模型的xpcosc结果在上面的同样的错误消息。 5.Building the Simulink demo model 'vdp' results in the following error message ERROR: 'cmd' is not recognized as an internal or external command, operable program or batch file. gmake: *** [../vdp.exe] Error 1 ### Build procedure for model: 'vdp' aborted due to an error. 6.Strangely, I am able to mex yprime.c to create yprime.mexw32. 7.I have re-installed MATLAB, SDK 7.1, Visual C++ 2010 but it did not resolve the issue. MathWorks支万博1manbetx持团队 https://es.mathworks.com/matlabcentral/profile/authors/4622813 标签:es.mathworks.com, 2005:问题/ 1949233 2023 - 04 - 18 - t15:29:31z 2023 - 04 - 25 - t06:25:15z 总线限制名称/数据类型在实时仿真 你好,我有一个问题,我的代码运行在实时环境(目标机器上运行),尽管很好与线下的代码。我收到的错误如下:这是一个简单的结构,它包含一辆公共汽车在公共汽车:我发现错误的名字来自于数据类型和传播公共汽车是一样的,我可以改变他们“手动”不一样,问题是固定的。但这“手动”改变是如此令人沮丧的时候更复杂的模型,我使用,这个问题似乎无处不在。我想知道如果有任何自动化或组织的方式处理这个错误的一代传播总线名称或无论如何防止这种相似性的发生。提前谢谢你! 太米尔 https://es.mathworks.com/matlabcentral/profile/authors/8363783 标签:es.mathworks.com, 2005:问题/ 98932 2010 - 08 - 05 - t22:04:00z 2023 - 04 - 19 - t08:01:57z 一般标准PCI-ADADIO cPCI-ADADIO和PC104P-ADADIO董事会支持xPC目标2.0.1 (R13SP1) ?万博1manbetx 我使用了交互硬件选择指南搜索一般标准A / D产品,只有PMC-ADADIO Mathworks作为支持。s manbetx 845万博1manbetx我知道一般标准相同的董事会在PCI /标准/ cPCI PC104形式因素。是那些董事会(PCI-ADADIO cPCI-ADADIO和PC104P-ADADIO)支持MathWorks吗?万博1manbetx MathWorks支万博1manbetx持团队 https://es.mathworks.com/matlabcentral/profile/authors/4622813 标签:es.mathworks.com, 2005:问题/ 98058 2009 - 06 - 27 - t01:11:00z 2023 - 04 - 19 - t05:51:37z 为什么我的汽车比赛时启动的目标计算机连接使用xPC目标? 我用xPC目标控制硬件设备。我的目标计算机是连接到控制一个电动马达。启动目标计算机的时候,汽车失控。 MathWorks支万博1manbetx持团队 https://es.mathworks.com/matlabcentral/profile/authors/4622813 标签:es.mathworks.com, 2005:问题/ 95502 2013 - 01 - 24 t21:23:00z 2023 - 04 - 19 - t05:29:50z 如何解决网络连接错误当下载支持包?万博1manbetx 当使用支持包安装程序从万博1manbetx互联网下载支持包(LEGO MINDSTORMS NXT USRP,例如,BeagleBoard),我遇到以下错误信息:错误:“不能下载[URL]:错误下载URL。你的网络连接可能发生故障或代理设置不正确配置”我怎么解决这个问题? MathWorks支万博1manbetx持团队 https://es.mathworks.com/matlabcentral/profile/authors/4622813 标签:es.mathworks.com, 2005:问题/ 234263 2015 - 08 - 17 - t15:34:07z 2023 - 04 - 17 - t15:39:25z 因为“slros_initialize ROS编译失败。h是失踪。 ROS的例子对于仿真软件> > robo万博1manbetxtExROSGetStartedExample运行很好,但编译实时执行失败,因为“slros_initialize。h是失踪。文件应该是自动生成的文件中列出的MATLAB / R2015a /工具箱/机器人/ robotsimulink /机器人/ + slros robotslros / + / + / +内部cgen”。万博1manbetx文件应该生成并保存c++代码创建ROS的节点,并且创建c++用户和出版商在模型中对应块进行订阅和发布。然而,他们不喜欢。文件的slros_initialize。h”不是建立文件夹中生成系统上或其他地方。如何解决这个问题?诊断输出:# # # Generasting代码构建文件夹:/home/username/Desktop/Foldername/ROS_Example_prt # # # ROS_Example调用目标语言编译器。rtw使用系统目标文件:# # # /usr/local/MATLAB/R2015a/rtw/c/prt/prt.tlc # # #加载tlc ............函数库# # #建筑ROS_Example: /usr/local/MATLAB/R2015a/bin/glnxa64/gmake - f ROS_Example。可MAT_FILE = 1 ISPROTECTINGMODEL = NOTPROTECTING选择= " -DON_TARGET_WAIT_FOR_START = 0”.gcc - c化gnu99迂腐-fwrapv - fpic -DON_TARGET_WAIT_FOR_START = 0 -DEXT_MODE -DGLNXA64 -DUSE_RTMODEL - 02 -D_GNU_SOURCE -DMODEL = ROS_Example -DRT -DNUMST = 2 -DTID01EQ = 1 -DNCSTATES = 0 -DUNIX dmt = 0 -DHAVESTDIO -我。 -I.. -I/usr/local/MATLAB/R2015a/simulink/include -I/usr/local/MATLAB/R2015a/extern/include -I/usr/local/MATLAB/R2015a/rtw/c/src -I/usr/local/MATLAB/R2015a/rtw/c/src/ext_mode/common -I/home/username/Desktop/Foldername/ROS_Example_prt -I/home/username/Desktop/Foldername -I/usr/local/MATLAB/R2015a/toolbox/coder/rtiostream/src/utils "ROS_Example_data.c" In file included from ROS_Example_data.c:21:0: ROS_Example.h:35:30: fatal error: slros_initialize.h: No such file or directory #include "slros_initialize.h" ^ compilation terminated. gmake: *** [ROS_Example_data.o] Error 1 马库斯 https://es.mathworks.com/matlabcentral/profile/authors/3799169 标签:es.mathworks.com, 2005:问题/ 96560 2012 - 07 - 24 - t18:16:00z 2023 - 04 - 16 - t16:18:03z 如何运行的一部分我的模型仿真软件实时目标以较慢的速度吗?万博1manbetx 我的模万博1manbetx型实时应用程序运行的速度1 e-5秒。一个子系统运行基于一个触发信号。然而,当触发器到来时,所花费的时间运行子系统可能超过1 e-5秒,所以我得到一个春节的错误,和泛滥。然而,在很长一段时间,这个子系统称为一次,我想要的“多任务”选项,让它在后台运行,更新,当它完成的时候。当我改变的样品时间子系统1军医的速度较慢,我得到以下错误:错误:使子系统的例子/ Subsystem1执行多个任务。这可能会导致损坏的数据或不确定的行为在一个实时系统。相反,考虑使用单频启用子系统或一组“周期性任务模式样本时间”选项的配置参数的解算器页面对话框“SingleTasking”。或者,您可以禁用这个诊断通过设置“多任务有条件地执行子系统”“没有”的诊断样本时间诊断面板的配置参数对话框。 MathWorks支万博1manbetx持团队 https://es.mathworks.com/matlabcentral/profile/authors/4622813 标签:es.mathworks.com, 2005:问题/ 1943944 2023 - 04 - 08 - t21:06:45z 2023 - 04 - 10 - t15:55:34z 我可以用其他硬件和仿真软件实时目标除了快艇吗万博1manbetx 我可以用其他硬件目标除了快艇与实时仿真软件或硬件实时仿真软件只支持Speedgoat吗?万博1manbetx万博1manbetx 约翰 https://es.mathworks.com/matlabcentral/profile/authors/26794987 标签:es.mathworks.com, 2005:问题/ 1450544 2021 - 09 - 10 - t10:01:34z 2023 - 04 - 06 - t21:14:32z 警告:codedescriptor文件”。dmr的没有找到。万博1manbetx仿真软件编码器建立 建筑模型实时模型2万博1manbetx020 b。在构建我得到以下警告:警告:codedescriptor文件”。dmr的没有找到。这是一个参考模型。警告反复4次。不知道该从哪里开始看文件' codedescriptor我从来没有见过。dmr的任何地方。这是某种工件从旧版本升级模型仿真软件?万博1manbetx有什么办法可以解决这个警告和/或抑制吗?它似乎并没有任何明显影响模型的行为。 迈克尔·霍奇森 https://es.mathworks.com/matlabcentral/profile/authors/12497317 标签:es.mathworks.com, 2005:问题/ 587294 2020 - 09 - 01 - t10:17:31z 2023 - 04 - 06 - t12:46:17z Speedgoat MATLAB设置,无效的模型对象名称:加载程万博1manbetx序 大家好,我有问题与settung我的发展和目标计算机之间的通信。我得到以下错误:请让我知道如果你有任何建议关于如何解决这个问题。提前谢谢你。阿德里亚诺 阿德里亚诺Arci https://es.mathworks.com/matlabcentral/profile/authors/13898522 标签:es.mathworks.com, 2005:问题/ 758329 2021 - 02 - 28 - t02:31:54z 2023 - 04 - 05 - t15:33:08z 无效的模型对象名万博1manbetx称:装载机&&& xPC:无法加载FAST_Library_Win32依赖模块。dll @ MathWorks支万博1manbetx持团队 诊断观众:调用slrt_make_rtw_hook,在退出钩生成以下错误:无效的模型对象名称:加载程序构建过程将终止。万博1manbetx引起的:无效的模型对象名称:加载程序框万博1manbetx图的加载程序加载。xPC:打开应用程序…FAST_Library_Win32开箱appplication完成无法加载依赖模块。dll加载H: \私人\ CFDLMFAC。dlm失败与错误2错误:无法负荷模型H: \私人\ CFDLMFAC: 2 jianshen李 https://es.mathworks.com/matlabcentral/profile/authors/8704196 标签:es.mathworks.com, 2005:问题/ 143053 2014 - 07 - 23 - t15:34:41z 2023 - 04 - 05 - t10:45:08z 用仿真软件实时同步时钟万博1manbetx 问候,我希望我的同步时钟模型实时机器两个Windows机器。万博1manbetx我正在考虑使用etherCAT。可以用etherCAT etherCAT主块同步时钟的奴隶吗?我听别人说他不确定如果etherCAT为仿真软件支持分布式时钟和想检查。万博1manbetx万博1manbetx如果没有,有没有其他方法可以同步的时钟模型实时机器与Windows的机器,在ethercat(优先)或其他?万博1manbetx我看着国家结核控制规划和PTP (IEEE 1588),但是它看起来不像有仿真软件实时支持。万博1manbetx万博1manbetx丹尼尔 丹尼尔 https://es.mathworks.com/matlabcentral/profile/authors/3549979 标签:es.mathworks.com, 2005:问题/ 1921735 2023 - 03 - 02 - t10:09:40z 2023 - 03 - 30 - t11:57:02z 万博1manbetx仿真软件实时Trellix防火墙 有人有经验的允许模型实时交流与speedgoat目标从PC Trellix端点安全防火墙万博1manbetx?我们当地的IT团队让我们禁用防火墙短暂让我们连接到目标,但他们无法创建一个例外规则,允许通信与目标。指令(https://uk.mathworks.com/help/slrealtime/ug/troubleshoot-communication-failure-through-firewall.html)只覆盖了Windows防火墙防火墙。这是使用MATLAB R2020b使用较新的QNX实时操作系统。 斯科特 https://es.mathworks.com/matlabcentral/profile/authors/4139331 标签:es.mathworks.com, 2005:问题/ 1903265 2023 - 01 - 30 - t17:35:55z 2023 - 03 - 18 - t11:29:05z s函数生成器输出目录 我有一个模型实时模万博1manbetx型。在一些模型的位置,我需要包括系统日志输出的结果使用SFunctionBuilder本教程。有没有一种方法来指定输出目录?现在,我产生很多.mat .mexw64和为每个SFunctionBuilder . cpp文件直接在主目录的项目,它变得非常混乱。有什么方法可以为这些构建构件指定一个子目录,类似于_slrealtime_rtw和slprj目录吗? 汉斯·W https://es.mathworks.com/matlabcentral/profile/authors/26675240 标签:es.mathworks.com, 2005:问题/ 1927050 2023 - 03 - 11 - t22:22:04z 2023 - 03 - 15 - t08:27:02z 万博1manbetx仿真软件模拟输出不同Speedgoat目标机器上运行时,在用户的机器上 很明显差异,见附件截图显示同一系统的闭环响应Speedgoat目标机器上和在windows电脑(用户负载的模拟Speedgoat目标机)。注意:在这两种情况下我们是运行相同的相同的脚本,包括控制器和一些离散时间装置/系统动力学的仿真。这种差异的可能原因是什么? 塔利亚布安德里亚 https://es.mathworks.com/matlabcentral/profile/authors/12662798 标签:es.mathworks.com, 2005:问题/ 1920800 2023 - 03 - 01 - t01:07:41z 2023 - 03 - 01 - t16:41:11z 黑色屏幕上戴尔目标计算机试图启动并连接到实时戴尔发展计算机仿真软件万博1manbetx 我努力引导和戴尔商用台式机790目标电脑连接到一个单独的戴尔790年商用台式机主机电脑实时仿真软件。万博1manbetx我用MATLAB 2016 b和不能使用这个应用程序的新版本。主机PC需要网络的输入通过以太网接入网用户帐户。USB接口在主机电脑连接到以太网端口在目标电脑上。在目标电脑的BIOS,我选择USB存储设备,板载网卡启动顺序和PXE集成网卡选项启用。所有其他电脑设置默认目标。在仿真软件实时万博1manbetxExplorer在主机电脑,我目标属性定义如下:两个引导文件从主机PC转移到目标电脑通过一个空荡荡的闪存驱动器(缺省格式)。我看到上传引导文件的进度条上的闪存驱动器主机PC和喷射后的闪存驱动器完成快速进展。然后我关闭目标电脑的闪存盘插入目标电脑,和电力在目标电脑上。目标电脑屏幕短暂闪烁启动代理初始化消息并变成一个黑色的屏幕没有成功启动的迹象。 This is a different response than when the target PC is powered on without the boot flash drive. When there is no flash drive, the target PC screen reads,"PXE-E51: No DHCP or proxyDHCP offers were received. /n PXE-M0F: Exiting Intel Boot Agent. /n No Boot Device Found. Press any key to reboot the machine". This difference makes me think that something is being booted to the target PC but is not entirely successul. When I attempt to connect to the target PC in Simulink Real-Time Explorer on the host PC I get an Error that reads, “’TargetPC1’ Unable to connect. Check communication settings.” This software setup is individual to each user account in my department’s network. To my knowledge, this method worked for my lab mates on their own user accounts in the past. Now, this method neither works for me or my lab mates on all accounts. Using the same BIOS setup on the target PC, I have also attempted to transfer the boot via Network using the target PC’s MAC address. When I create a boot disk, I see the same progress bar as with the flash drive and receive a notification that reads, “Simulink Real-Time Network Boot Server, Network boot server is started”. From here, I remove the previous method’s flash drive from the target PC, power down the target PC, and power on the target PC. The target PC screen briefly flashes a Boot Agent initialization message and attempts to initialize and establish the link. The client MAC address, client IP, mask, and DHCP IP are all correctly listed on the target PC screen. At this point a notification pops up on the host PC screen that reads, “”Simulink Real-Time Network Boot Server, Booting target with MAC XX:XX:XX:XX:XX:XX” (insert true MAC address). Lower on the target PC screen an error message reads, “PXE-E11: ARP timeout /n PXE-M0F: Exiting Intel Boot Agent. /n No Boot Device Found. Press any key to reboot.” When I attempt to connect to the target PC in Simulink Real-Time Explorer on the host PC I get an Error that reads, “’TargetPC1’ Unable to connect. Check communication settings.” Do you have advice for identifying whether the issue stems from the host PC, target PC, or hardware connection between them? It is unclear whether the host and target PCs are truly communicating or whether the target PC simply has its own information and the host PC simply lists the information about the target PC that I gave it without truly communicating with it. EDIT: Attached is potentially useful information found through MATLAB Command Window on the host PC. Further, an answer to this question (//www.tianjin-qmedu.com/matlabcentral/answers/12662-host-target-communication-lost-once-target-pc-is-booted-into-the-xpc-environment) advised to try pinging the target PC (when booted to xPC) from DOS. After attempting to boot the target PC via USB removable drive (with the same black screen mentioned before), I was able to successfully ping the IP assigned to the target PC in CMD. My attempt to boot and connect the target PC is still unsuccessful. Thank you again for your help. 马克Leinberger https://es.mathworks.com/matlabcentral/profile/authors/19805154 标签:es.mathworks.com, 2005:问题/ 1903175 2023 - 01 - 30 - t15:54:51z 2023 - 02 - 28 - t07:18:13z 如何在仿真软件实时编译部分模型(XPC目标)万博1manbetx 有可能编译部分模型仿真软件实时加快构建过程?万博1manbetx例如,我只是更换一块和我不想从头开始编写完整的仿真软件模型。万博1manbetx如果是的,我设置这个选项吗?谢谢你! 斯特凡诺 https://es.mathworks.com/matlabcentral/profile/authors/26973447 标签:es.mathworks.com, 2005:问题/ 1890902 2023 - 01 - 09 - t18:26:39z 2023 - 02年- 23 - t13:59:09z 万博1manbetx实时仿真软件错误(STD异常“struct mwboost:: wrapexcept”:“无效的字符串位置”被发现) 你好,我想成矿模型模型但我得到以下错误:性病例外“struct万博1manbetx mwboost:: wrapexcept”:“无效的字符串位置”被抓住了。我真的不知道如何修复它,为了修复它。我使用Visual Studio和MinGW-w64编译器:同样的错误谢谢谁能帮我修好它。问候 丹尼尔Vicca https://es.mathworks.com/matlabcentral/profile/authors/13843568 标签:es.mathworks.com, 2005:问题/ 1916780 2023 - 02年- 22 - t08:59:42z 2023 - 02年- 22 - t09:43:46z 我该怎样才能提高仿真软件模型的编译时间?万博1manbetx 模型构建过程中的步骤之一模型调用编译器本身,如何加快编译时间?万博1manbetx 彼得亚雷Kluczek https://es.mathworks.com/matlabcentral/profile/authors/20526530 标签:es.mathworks.com, 2005:问题/ 418245 2018 - 09 - 09 - t17:54:56z 2023 - 02 - 07 - t15:11:16z (万博1manbetx模型)如何与硬件通信(Arduino,覆盆子π,I2C等)实时? 我运行一个硬件在环测试与仿真软件和arduino想控制,覆盆子π,以及从I2C设备接收信息。万博1manbetx我想为我的个人计算机运行仿真和计算量大,但是我想交流提到的硬件仿真软件的价值。万博1manbetx我知道有Arduino和覆盆子π支持软件,不过我相信他们只允许硬件运行模型,而不似乎能够让硬件接收数据万博1manbetx。我也意识到实时扩展存在,但只处理Speedgoat软件的文档,我不确定是否会与其他硬件。还有数字输出模块和串行发送从数据采集和HDL编码包块,但是我不确定他们是否会连接到Arduino或覆盆子π。我想知道有什么是我最好的选择我的计算机运行仿真和实时数据导出到硬件,以及硬件给数据实时仿真使用。 安德鲁·伯恩斯 https://es.mathworks.com/matlabcentral/profile/authors/11827854 标签:es.mathworks.com, 2005:问题/ 1901425 2023 - 01 - 26 t20:00:32z 2023 - 02 - 06 - t14:07:01z 有块处理仿真软件模拟而不是实时?万博1manbetx 我有一个计划使用speedgoat和使用仿真运行很好,当我运行它显示我所有的范围,没有错误。然而,当我试图在实时运行它,我得到了“错误目标上运行{文件名}:错误构建{文件名}”诊断的查看器。我运行实时示波器的例子,他们的工作没有问题。有人知道任何块,可以在我计划禁止我在实时运行它?谢谢 约翰•蒙哥马利 https://es.mathworks.com/matlabcentral/profile/authors/20860029 标签:es.mathworks.com, 2005:问题/ 1584774 2021 - 11 - 12 - t01:47:05z 2023 - 01 - 30 - t13:38:35z 万博1manbetx实时仿真软件构建错误:未定义的标识符在xpcoptions.tlc xPCLoadParamSetFile 你好,我是试图建立一个模型在实时仿真软件Matlab (2020)。万博1manbetx然而,我总是遇到以下构建错误(即使我的模型只包含一个常数和范围)。作为一个编译器,我使用Visual Studio 2019社区。我试图改变什么盒子“硬件设置/实时仿真软件选项”面板,但我无法应用更改,因为一个错误弹出说:“点索引不支持这种类型的变量。”万博1manbetx万博1manbetxThese (unchangable) settings can be found below. On two other PCs of my co-workers the model works with the same Matlab and VS Versions. I hope someone has an idea how to fix this error. Thank you very much in advance! Build 1 1 02:24 AM Elapsed: 8 sec Top Model Build 1 Elapsed: 6 sec ### Starting Simulink Real-Time build procedure for model: ctrl_safeHRI_2020a Error: File: C:\Program Files\MATLAB\R2020a\toolbox\rtw\targets\xpc/target/build/tlc\xpcoptions.tlc Line: 214 Column: 28 Undefined identifier xPCLoadParamSetFile Main program: ==> [00] C:\Program Files\MATLAB\R2020a\toolbox\rtw\targets\xpc/target/build/tlc\xpcoptions.tlc:(214) Error: File: C:\Program Files\MATLAB\R2020a\toolbox\rtw\targets\xpc/target/build/tlc\xpcoptions.tlc Line: 214 Column: 28 Values of NULL type cannot be expanded Main program: ==> [00] C:\Program Files\MATLAB\R2020a\toolbox\rtw\targets\xpc/target/build/tlc\xpcoptions.tlc:(214) Error: Errors occurred - aborting Component:Simulink | Category:Block diagram error Diagnostics 02:24 AM Error building 'ctrl_safeHRI_2020a' Component:Simulink | Category:Model error 亚尼克Burkhardt https://es.mathworks.com/matlabcentral/profile/authors/22295372 标签:es.mathworks.com, 2005:问题/ 892292 2021 - 08 - 04 - t14:34:50z 2023 - 01 - 26 t20:48:59z 万博1manbetx实时仿真软件,终端命令“连接模式”是什么? tg = slrealtime;slbuild(模型);- - >构建应用程序tg.load(模型);- - >部署到目标tg.start;- - >启动应用程序命令“连接模式”是什么? 撒母耳kamajaya https://es.mathworks.com/matlabcentral/profile/authors/17566896 标签:es.mathworks.com, 2005:问题/ 119283 2014 - 02年- 27 - t01:44:01z 2023 - 01 - 26 t16:56:23z 我怎么解决这个错误当建立模型仿真软件matlab fcn和xpctar万博1manbetxget A / D块吗?时遇到错误(s)的建筑模型“PCIctest”: # # #未能生成所有二进制输出。 我试图建立一个仿真软件模型与Matlab fc万博1manbetxn xpctarget广告模块为真正的实现生成c代码。在构建出来的错误。时遇到错误(s)的建筑模型“PCIctest”: # # #未能生成所有二进制输出。模型很简单:< < / matlabcentral /答案/ uploaded_files / 8749/1.jpg > >和matlab函数中的代码函数y = fcn (u) y = 2 * u;PS: R2013b matlab版本。 Jiangbo https://es.mathworks.com/matlabcentral/profile/authors/4720016 标签:es.mathworks.com, 2005:问题/ 1898815 2023 - 01 - 23 t09:47:09z 2023 - 01 - 26 t16:01:31z 21.1.0下载模万博1manbetx型实时目标支持包版本万博1manbetx 大家好!是否可以下载模型实时目标支持包的先前版本吗?万博1manbetx万博1manbetx为了解决这个问题我需要版本21.1.0:https://fr.mathworks.com/matlabcentral/answers/1437754-why-do-i-get-an-error-saying-my-simulink-real-time-model-is-out-of-万博1manbetxdate-and-must-be-rebuilt谢谢! 尼古拉。 https://es.mathworks.com/matlabcentral/profile/authors/26851660 标签:es.mathworks.com, 2005:问题/ 352578 2017 - 08 - 13 - t07:31:52z 2023 - 01 - 25 - t10:01:19z 万博1manbetx实时仿真软件最大的硬件支持吗?万博1manbetx 嗨。我需要知道所支持的最大物理RAM和cpu实时仿真软件(xpc-target)。万博1manbetx万博1manbetx我可以用实时仿真软件万博1manbetx在安装了256 GB的RAM的目标吗? 尼基西蒙 https://es.mathworks.com/matlabcentral/profile/authors/10585151 标签:es.mathworks.com, 2005:问题/ 1894885 2023 - 01 - 16 t11:37:29z 2023 - 01 - 16 t11:37:29z 在构建模型时误差模型(MATLAB 20万博1manbetx07 b, xPC目标3.3,开放Watcom 1.3) 我使用目标PC与MATLAB 2007 b和xPC目标3.3(1.3编译器:开放Watcom)。我发现以下错误消息在构建仿真软件模型。万博1manbetxhogehoge。c:错误!E1145:内部编译器限制超过,模块分解成小块我会很感激如果你可以建议我们的首选回应此事。 大树Miyahira将 https://es.mathworks.com/matlabcentral/profile/authors/22173291 标签:es.mathworks.com, 2005:问题/ 1739240 2022 - 06 - 13 - t07:31:53z 2023 - 01 - 09 - t16:29:49z 为slrealtime缺失的文档。仪器的方法吗? 你好,我是试图评估实时测试的设置。在这个链接我发现有用的信息,它显示了如何利用python脚本运行slrealtime应用程序和信号实时获得HW。脚本运行很好,但为了扩展我们的目的,我很难找到一些文档的一些方法在这样的脚本。例如:乐器。getBufferedData % getBufferedData方法和没有医生:乐器。BufferData = true % BufferData产权没有文档的目的是能够实时获取信号值以采取行动在一个测试用例的执行。提前感谢任何帮助!莱奥纳多 莱昂纳多Ricupero https://es.mathworks.com/matlabcentral/profile/authors/13072485 标签:es.mathworks.com, 2005:问题/ 474415 2019 - 08 - 01 - t09:46:40z 2023 - 01 - 09 - t09:07:50z 万博1manbetx仿真软件实时和non-Speedgoat机器 你好亲爱的MATLAB社区我想知道如果可以使用仿真软件与传统电脑实时目标机器,如没有Speedgoat HW吗?万博1manbetx我知道之前的产品——XPC目标是支持这个,但是现在我没有看到任何证据,如何建立自己的实时目标万博1manbetx机器。Speedgoat机在标准情况下也只不过单板电脑。我知道有桌面实时工具箱存在,但将实时仿真软件感兴趣,后者支持fieldbusses,像EtherCAT,允许简单的I / O扩展,这是所有我需要从目标电脑万博1manbetx连接。万博1manbetx有人能解释是否有可能吗? Artyom https://es.mathworks.com/matlabcentral/profile/authors/1642476 标签:es.mathworks.com, 2005:问题/ 1638685 2022 - 01 - 29 t13:38:19z 2023 - 01 - 03 - t15:28:54z 问题commuunication实时目标 如何解决这个问题:错误发生在执行外部模式MEX-file“rtcon_ext_comm”:无法建立TCP连接与实时目标DESKTOP-LTIIU2K的外部模式通信套接字。验证您的实时目标是服务端口‘17725’。 彼得亚雷Wierzbicki https://es.mathworks.com/matlabcentral/profile/authors/25392784 标签:es.mathworks.com, 2005:问题/ 753279 2021 - 02年- 23 - t02:09:38z 2023 - 01 - 03 - t15:20:27z 当构建SLRT程序错误 我试图建立一个大型测试利用实时仿真软件。万博1manbetx它已经建立并运行多次在过去的几个月里。最近还没有能够建立与以下错误后完成构建过程。它从未成功地创建SLRT应用程序文件(mldatx)。# # #成功完成构建过程模型:Model_Harness fl:文件系统:PathNotFound我已经尝试完全清除缓存和代码文件,从一个干净的构建。它导致同样的错误。我也尝试构建在不同的电脑仍有同样的错误。这个错误不提供任何信息…有谁见过,知道如何调试? 詹姆斯 https://es.mathworks.com/matlabcentral/profile/authors/12929418 标签:es.mathworks.com, 2005:问题/ 95399 2013 - 06 - 06 - t16:27:00z 2023 - 01 - 03 - t12:16:20z 为什么构建过程失败,错误代码:“NMAKE:致命错误U1073:不知道如何使C: \程序”? 当我试图构建一个内置的模型,我得到一个错误消息,指出构建失败了。我有一个支持微软的万博1manbetxC / c++编译器(Windows SDK / Visual Studio)正确安装和设置。错误消息将类似于以下:错误:NMAKE:致命错误U1073:不知道如何使C: \程序停止。make命令返回一个错误2“An_error_occurred_during_the_call_to_make”没有被识别为内部或外部命令,可操作的程序或批处理文件。类似的错误可能发生在为模型,建立日志在加速器运行模式,或在构建模型来仿真软件编码器,嵌入式编码器或实时仿真软件。万博1manbetx MathWorks支万博1manbetx持团队 https://es.mathworks.com/matlabcentral/profile/authors/4622813 标签:es.mathworks.com, 2005:问题/ 748512 2021 - 02年- 17 - t22:17:02z 2022 - 12 - 30 - t05:44:19z 构建模型并行万博1manbetx实时应用程序 我有大量的仿真软件实时应用程序,我试图建立Spee万博1manbetxdgoat系统上运行。我想减少构建时间并行通过运行构建。需要30分钟来构建一个应用程序有600 +应用程序可以看到连续并不是一个好的解决方案。模型不依赖于彼此,他们不是引用的标准建在功能并行模型参考建造slbuild不会工作。模型使用的数据基工作区(参数、配置参考,总线对象,等等)。我试图创建一个parfor循环下面的详细,我保存工作区垫文件然后负载在每个工人slbuild运行之前,但是我收到以下错误。错误使用parallelBuild(第8行)找不到配置:“Model_CnfgRef”引用“TC225”。这个配置存在于工作区底部我加载每个工人。思考我做错了什么吗?代码:parfor i = 1:长度(buildCandidates) l =负载(“workspace.mat”); evalin('base',['slbuild(TC',num2str(buildCandidates(i)),')']); end Also tried this: parfor i=1:length(bulidCandidates) l = load('workspace.mat'); slbuild(['TC',num2str(buildCandidates(i))]); end 詹姆斯 https://es.mathworks.com/matlabcentral/profile/authors/12929418 标签:es.mathworks.com, 2005:问题/ 870608 2021 - 07 - 02 - t14:12:52z 2022 - 12 - 26 - t16:12:06z 部署RL代理 你好!2021我用Matlab设计强化学习代理。我在培训的过程中一系列的代理和我(希望)接近部署。然而,我有一些问题,我没有能找到直接的答案。首先,我可以在实时仿真软件部署RL代理吗?万博1manbetx我有空Speedgoat所做的大量工作关闭硬件回路循环我的经纪人在Matlab中,但我还没见过说我能以简单明了的方式部署模型。万博1manbetx我看到这里,您可以在仿真软件部署CUDA代码,但我并不真正理解过程。万博1manbetx我不确定它适用于这种情况或如果有更多straigtforward方法在仿真软件部署代理。万博1manbetx第二,如果我不能在仿真软件部署RL代理,其他平台我可以部署一个RL代理吗?万博1manbetx我宁愿在Matlab部署代理或硬件的仿真软件,因为我做了很多工作在Matlab中,但我不确定该做万博1manbetx什么如果模型不是一个选项。 I know that I can hyptothetically generate C and CUDA code, but I'm nout sure what the next step is. And lastly, I clearly am lacking some vital knowlege on this front - it turns out I'm an electrical engineer, not a computer scientist! What resources should I use to further my understanding of this? I'd rather understand what I need to do than ask others for help. I don't really know anything about CUDA or deploying programs on actual hardware and I'm not sure where to look... and it turns out that there's a pretty steep learning curve. Thanks! 马特 https://es.mathworks.com/matlabcentral/profile/authors/20793582 标签:es.mathworks.com, 2005:问题/ 315251 2016 - 12 - 03 - t17:39:51z 2022 - 12 - 21 - t19:26:52z 我怎么初始化三个阶段可编程电压源(模型)使用MATLAB算法(MATLAB编写的代码)?万博1manbetx 我已经给出了MATLAB函数块必须输入测量模块的仿真软件模型;万博1manbetx运行一个算法来计算所需的电压值,然后通过代码回到仿真软件模型的输出三相程控电压源。万博1manbetx我不能够实现这种集成部分。 Prateek Gaure https://es.mathworks.com/matlabcentral/profile/authors/6136092 标签:es.mathworks.com, 2005:问题/ 1759750 2022 - 07 - 14 - t08:56:42z 2022 - 12 - 19 - t16:36:26z 测试自动化:引用模型与c#和ASAM自API 你好,我是评估不同的策略使用SpeedGoat测试自动化和实时仿真软件。万博1manbetx这部分,我发现在这个链接一个有用的例子涉及c#和ASAM自API。不幸的是,当试图复制脚本myRealTimeAppController。cs与我们的模型,在第85行MAPort被抛出一个异常。配置(portConfig、虚假);“System.Runtime.InteropServices:一个未处理的异常类型。发生在System.Private.CoreLib COMException”。dll:“错误使用slrealtime.internal.xil.MAPort / getVariableInfo没有引用模型名为“my_referenced_model的注意模型与仿真软件运行完美。万博1manbetx因为我注意到运行脚本打开Matlab的一个新实例,与工作目录C:\Program Files\MATLAB\R2022a\bin\ win64,我的猜测是,Matlab是找不到参考模型自工作目录的路径。什么建议关于如何解决这个问题将不胜感激。 莱昂纳多Ricupero https://es.mathworks.com/matlabcentral/profile/authors/13072485 标签:es.mathworks.com, 2005:问题/ 894152 2021 - 08年- 07 - t09:09:09z 2022 - 12 - 19 - t15:52:53z 的目标对象函数产生事件的状态。我怎么能使用MATLAB侦听器函数监控事件状态? 如上所述的仿真软件®实时™万博1manbetxAPI指南,“目标对象的功能产生事件的状态。您可以使用MATLAB侦听器函数来监视事件。“可是,我怎么能使用MATLAB侦听器功能监视事件状态?例如,我想要的连接状态的目标。我怎么代码? 宇轩彭 https://es.mathworks.com/matlabcentral/profile/authors/16091398 标签:es.mathworks.com, 2005:问题/ 1443334 2021 - 08 - 30 - t13:34:22z 2022 - 12 - 19 - t15:34:09z 万博1manbetx实时仿真软件工具对象更新率改变 我的模型运行在0.001秒从Speedgoat性能实时目标机器上。我使用的仪表板应用程序创建slrtrealtime设计师。仪器和流信号相关的回调函数的模型animatedline app.UIAxes绘图。有可能控制和提高仪器的更新率对象?在我的例子中是大约50毫秒,这对我们的需求相当缓慢。 Alexey伊拉里奥诺夫 https://es.mathworks.com/matlabcentral/profile/authors/7900097 标签:es.mathworks.com, 2005:问题/ 1663574 2022 - 03 - 04 - t13:12:27z 2022 - 12 - 19 - t15:11:46z 将采样信号的实时执行程序设计师(Speedgoat) 你好所有的,我已经创建了一个实时使用仿真软件能够模型实时从Speedgoat实时目标机器上运行。万博1manbetx对于这个我想创建一个额外的GUI应用程序设计师,除此之外的信号显示(UIAxes)。信号流如下:%后执行的代码组件创建函数startupFcn(应用,变长度输入宗量)%创建设备对象PS01 app.hInstPS01 = slrealtime.Instrument (app.mdl);%将信号连接到轴app.hInstPS01.connectLine (app.UIAxes_PS01 p_S1_bar);app.hInstPS01。AxesTimeSpan = 10;% InstrumentManager InstrumentManager = slrealtime.ui.tool.InstrumentManager (app.UIFigure);InstrumentManager。仪器= app.hInstPS01;最终问题是模型样本8 khz,正如我想要的信号的高分辨率logsout后期处理。 But the app somehow doesn't manage such high sampling rates and is extremely sluggish/slow. My question: Is there a possibility to sample the signals in the app only every e.g. 0.1s but still get the measured values with 8kHz in the logsout? Or does someone has any other tips how to accelerate the app? Many thanks and greetings Felix 菲利克斯•布伦纳 https://es.mathworks.com/matlabcentral/profile/authors/24730195 标签:es.mathworks.com, 2005:问题/ 1836013 2022 - 10 - 26 - t10:17:29z 2022 - 12 - 19 - t14:49:42z 控制实时应用程序通过使用c++ 我需要控制我的Speedgoat使用c++和实时应用程序部署到客户没有MATLAB。MATLAB 2020之前曾经有一个C SLRT API,允许你做以下事情Speedgoat实时应用程序从C / c++(负载模型,模型设定模型参数开始,停止模型和一些其他的事情)。2020年后MATLAB Speedgoat实时操作系统QNX是更新和支持C SLRT API被撤销。万博1manbetx而且没有外部接口,允许外部应用程序接口Speedgoat实时应用程序。自2021 b仿真软件MATLAB实时万博1manbetx应用程序可以控制从c#使用ASAM自API的文档:https://au.mathworks.com/help/slrealtime/ug/control-real-time-application-by-using-c-sharp.html推荐的方法是什么界面我Speedgoat c++应用程序实时应用程序。请注意,多年的努力已经进入开发这个c++应用程序,因此它不是一个选项来重新编写c#或其他编程语言。有可能从c++ c#打电话吗? 拜伦哈特菲尔德 https://es.mathworks.com/matlabcentral/profile/authors/122016 标签:es.mathworks.com, 2005:问题/ 1874642 2022 - 12 - 09 - t09:00:50z 2022 - 12 - 09 - t17:51:43z 万博1manbetx仿真软件实时Speedgoat和应用程序生成器 嗨,我试图建立一个从用户界面的应用程序生成器。应用程序生成器创建一个基本应用程序所需的所有组件生成的应用程序连接到Speedgoat机器。当我尝试运行该应用程序的运行按钮Speedgoat机器无法找到。事实上我不知道如何提供的IP地址(如果有)在实时仿真软件浏览器像我一样。万博1manbetx如果我把Speedgoat (PC)目标主机PC在实时仿真软件Explorer的作品。万博1manbetx任何想法?谢谢你问候 丹尼尔Vicca https://es.mathworks.com/matlabcentral/profile/authors/13843568 标签:es.mathworks.com, 2005:问题/ 1868288 2022 - 12 - 01 - t08:39:32z 2022 - 12 - 06 - t05:58:13z 如何训练RL代理出口TwinCat机器学习推理吗 嗨我训练了一个代理在MATLAB中使用强化学习。我希望部署这个真正的硬件。我新部署训练有素的特工和没有线索。我打算使用Beckhoff IPC系统。你能指导我。这是好如果没有Beckhoff IPC这是可以做到的。提前谢谢。奇 奇thakur https://es.mathworks.com/matlabcentral/profile/authors/8258195 标签:es.mathworks.com, 2005:问题/ 343956 2017 - 06 - 08 - t20:06:32z 2022 - 12 - 02 - t14:26:19z 我怎么发送串行命令与实时仿真软件设备吗?万博1manbetx 我有Speedgoat实时目标机器,我试图与微观大师交流伺服控制器通过实时仿真软件。万博1manbetx我一直使用附件图片中概述的设置来测试软件(我有一个传送到COM2),但出于某种原因没有数据穿过。任何想法吗?由于< < / matlabcentral /答案/ uploaded_files / 79968 / SIM1.PNG > > https://es.mathworks.com/matlabcentral/profile/authors/5061253 标签:es.mathworks.com, 2005:问题/ 1579794 2021 - 11 - 05 - t14:29:15z 2022 - 12 - 01 - t09:37:54z 目标计算机上删除应用程序以编程方式 你好,我想删除我的目标机器上的应用程序(SpeedGoat)编程。我基本上试图复制什么仿真软件实时Explorer的删除按钮。万博1manbetx哪个函数(或隐藏函数)呢?提前谢谢! 马特奥Pellegri https://es.mathworks.com/matlabcentral/profile/authors/19999276