Beantwortet
Simulink simulation output differs when run on Speedgoat Target machine and on user's machine
Hi Andrea, If the simulation outputs are different, there's a high chance that the input signals are different too. Could you c...

mehr als ein Jahr vor | 0

Beantwortet
Are there any blocks that work with Simulink simulation but not real-time?
Hi John, The easiest way to get more details about the build error is to go here in the diagnostics viewer: Best, Dimitri

mehr als ein Jahr vor | 0

Beantwortet
simulink real time maximum hardware support?
Hi Nicky, In R2020a and earlier, Simulink Real-Time uses a 32-bit real-time OS (RTOS) on the target machine. The maximum quanti...

mehr als ein Jahr vor | 0

Beantwortet
Download Simulink Real-Time Target Support Package version 21.1.0
Hi Nicolas, As far as I know, this is not possible by default as of now. I suggest that you reach out to the MathWorks support ...

mehr als ein Jahr vor | 1

Beantwortet
Simulink Real Time Speedgoat and App Generator
Hi Daniel, You can insert a "Target Selector" UI component to your App Designer interface to select the target machine you'd li...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
How do I send serial commands to a device with Simulink Real Time?
Hi Dan, What kind of cable are you using to test this loopback model? Please note that a null-modem cable (or adaptor) must be ...

mehr als ein Jahr vor | 0

Beantwortet
How do i save a file into a folder in a different path?
Hi Rachel, That should be fairly straightforward. You can create: a new directory each iteration of the 'for' loop, and save y...

mehr als ein Jahr vor | 1

Beantwortet
How to export trained RL agent to TwinCat machine learning inference
Hi Chetan, In case you'd like to deploy your algorithm on a real-time target machine that specifically uses Simulink Real-Time ...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Delete application on target computer programmatically
Hi Matteo, The function "removeApplication" was introduced for that purpose in MATLAB R2022a. Furthermore, the function "remove...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Why I can not save all the simulation data using to workspace in simulink's external mode?
Hello Amina, I do not recommend using the "To Workspace" block to log data in Simulink Real-Time. If you're using MATLAB R2020a...

mehr als ein Jahr vor | 0

Beantwortet
Variable Length Windows Real-Time Target UDP Receive Block
Hi Arne, That should be possible in my opinion. I would define the maximum expected size in your UDP receive block, and then di...

mehr als ein Jahr vor | 0

Beantwortet
If development computer is target computer, how can I built the connection?
Hi Wilson, You must have two separate devices to use Simulink Real-Time: one host/development PC, and one target machine. Best...

mehr als ein Jahr vor | 0

Beantwortet
Can I connect Simulink Version 2022a to a Non-Speedgoat Target Machine?
Hi Kyle, I'm afraid that's not possible: only Speedgoat target machines are supported by Simulink Real-Time since R2018a. Kind...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Get 1st element/reading from a Real-time encoder readings
Hi Ahmet, How about using a block-based approach instead? You could for example go for something similar to this: In this ...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
C Caller Block with Simulik Real time R2022b
Hi Daniel, Have you checked these suggestions when updating to R2020b and later? There's a number of differences in Simulink Re...

fast 2 Jahre vor | 0

Beantwortet
speedgoat target coputer 1
Hi William, Speedgoat target machines are expressly designed to work with Simulink Real-Time. Similarly, only Speedgoat hardwar...

fast 2 Jahre vor | 0

Beantwortet
Event triggered update of simulink.parameter in model deployed to target (Speedgoat) to signal within model
Hi Derry, I would recommend modelling that behaviour, i.e., working with signal values rather than parameters. In the scenario ...

fast 2 Jahre vor | 1

| akzeptiert

Beantwortet
Simulink Realtime Add-on on Ubuntu 20.04
Hi Ehtisham, I suggest having a look at the following MATLAB Answers posts: https://www.mathworks.com/matlabcentral/answers/48...

fast 2 Jahre vor | 0

Beantwortet
Matlab 2020b and above no more target than speedgoat possible?
Hi Jan, That's correct: support for custom target hardware has actually already been removed from Simulink Real-Time in R2018a....

fast 2 Jahre vor | 0

Beantwortet
How can I get analog input data to Speedgoat target machine I/O?
Hi Eric, The IO334-325k is a Simulink-programmable FPGA, meaning that you'll have to use HDL Coder to synthesise your own bitst...

fast 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to stream vector (1X5) data from Target device to App designer?
Hi Jesica, I think there are several mistakes here: The correct syntax of the function is connectScalar (lowercase "c" and "a"...

fast 2 Jahre vor | 1

Beantwortet
How to reset a received CAN receive or unpack block
Hi Felix, Absolutely, you can use the "Timestamp" output port of the CAN Unpack block to check when the last message with this ...

fast 2 Jahre vor | 0

Beantwortet
Is it possible to generate a PWM signal in a real-time model with a pulse width resolution smaller than the fixed time step of the model?
Hi Findlay, Absolutely, this is possible, though you would probably not use the CPU of your target machine for this purpose. If...

fast 2 Jahre vor | 2

| akzeptiert

Beantwortet
How can i get the Task Execution Time of a simulink model in Execution Profiling for Real-Time Applications
Hi Liqun, In the figure you posted, the task execution time (TET) is represented by the length of each green bar. Besides the p...

fast 2 Jahre vor | 0

Beantwortet
Is there any Simulink block can parse and generate code for LIN Description Files?
Hi Alon, In case you're using Simulink Real-Time, "LIN Pack" and "LIN Unpack" blocks have been introduced for this purpose in M...

fast 2 Jahre vor | 0

Beantwortet
Can "Data frame Sizes" be changed longer than 8? Can "Length" be changed longer than 32?
Hi Byeongsoo, The maximum length of a CAN message is by definition 64 bits / 8 bytes. If your message contains more data, you'r...

fast 2 Jahre vor | 1

Beantwortet
How is the CAN Pack block from Simulink Real Time triggered to send remote frames?
Hi Remi, This might be due to the driver blocks for the I/O hardware you're using to send the remote CAN frame. In case you're ...

fast 2 Jahre vor | 0

Beantwortet
Multiple messages have to be transferred by CAN Pack/Unpack
Hi Saeed, As far as I know, you should use one CAN Pack/Unpack block per CAN Message ID. I hope this is helpful! Dimitri

fast 2 Jahre vor | 0

Beantwortet
xPC Target and B&R PowerLink (Real-Time Ethernet)
Hi Igor, I belive you would need a specific module for that. Speedgoat offers dedicated POWERLINK I/O interfaces for this purpo...

fast 2 Jahre vor | 0

Beantwortet
does the RTWT supports CANopen?
Hi Amir, I am not sure about the Simulink Desktop Real-Time toolbox, but there are definitely options to communicate over CANop...

fast 2 Jahre vor | 0

Mehr laden