Community Profile

photo

Jon Lobo

Last seen: 3 jours il y a Actif depuis 2016

Followers: 0   Following: 0

Contact

Statistiques

  • Knowledgeable Level 3
  • Revival Level 3
  • First Answer

Afficher les badges

Feeds

Afficher par

A répondu
A number of the Target object functions produce event status. How can I use the MATLAB listener function to monitor event states?
Hi Yuxuan, I'm including some example code for how to do this. tg = slrealtime; listenerConnected = listener(tg,'Connected'...

plus d'un an il y a | 0

A répondu
Downsampling of Signal in App Designer for Real-Time Execution (Speedgoat)
Hi Felix, If I recall correctly, the instrument object will update the app at roughly 10hz with the 8khz data and I don't beli...

plus d'un an il y a | 0

| A accepté

A répondu
Control Real-Time Application by Using C++
Hi Byron, There are two ways to do this. The first is available from R2020b onwards, and the second is available from R2021b o...

plus d'un an il y a | 0

A répondu
Is there a way of streaming data from a real time target machine that is running a Simulink-Test test to an app designer GUI?
Hi Luke, I haven't tried this yet, so it may or may not work. Simulink Test Manager is blocking in MATLAB. That means that whi...

plus de 3 ans il y a | 0

A répondu
Can be create a parameter group in Simulink Real-Time Explorer without connect to Target (boot mode: stand alone)?
Based on the screenshot, it looks like the target is not connected to the host. You can only view signals and parameters when th...

plus de 4 ans il y a | 0

| A accepté

A répondu
Interfacing Simulink Real-Time and Matlab on Speedgoat
Hi Michaela, This is absolutely doable. You might notice that when you build your Simulink model and download to the Speedgoat...

plus de 4 ans il y a | 0

A répondu
Simulink Real Time: Logging non-virtual bus
Hi Kelly, Non-virtual buses should work when you select them for logging to the Simulation Data Inspector. I suspect that you ...

plus de 5 ans il y a | 0

A répondu
Target order in slrtexplr
I don't think this is possible. It seems the order is based on when that target was added.

presque 6 ans il y a | 0

| A accepté

A répondu
Move target data to new version of slrt after an upgrade
They should automatically be carried over through your MATLAB preferences. If they are not for some reason, you can using sl...

presque 6 ans il y a | 0

A répondu
Test 4 FAILED - Could not open [Content_Types].xml for writing!
Hi Chien-Ping, I believe that your target computer is not formatted correctly. In prior versions you could use a FAT16 forma...

presque 6 ans il y a | 0

| A accepté

A répondu
Connection Refused to Simulink Real Time Target Port
It's not recommended to do this through an S-Function. I recommend using the TCP blocks here: <https://www.mathworks.com/help/xp...

presque 6 ans il y a | 0

A répondu
How can I run a Simulink model with a C S-Function on a Simulink Real-Time PC?
Hi Mikhail, I took a look at your example. It looks like you did everything right. The only issue is that you are using the ...

presque 6 ans il y a | 0

A répondu
Simulink Real Time ethernet communication with exteral pc
Hi Chiara, Have you tried using the TCP/IP blocks in Simulink Real-Time? You may also need to use the Byte Pack and Unpack b...

presque 6 ans il y a | 0

A répondu
Determining selected MEX compiler inside m-Function running in Simulink
Hi Dan, I recommend putting this in a model callback rather than in a MATLAB function block. This can execute before the sta...

presque 6 ans il y a | 0

| A accepté

A répondu
Send Messages through TCP/IP using Simulink Real Time on Target Machine
The Instrument Control Toolbox blocks for UDP Send/Receive and TCP/IP Send/Receive are not supported by the Simulink Real-Time K...

presque 6 ans il y a | 0

| A accepté

A répondu
Can't reboot my Simulink Realtime target.
When you execute "tg = slrt" does that return successfully or does that error out? What about when you execute "slrtpingtarget"?...

plus de 6 ans il y a | 0

A répondu
Is there a straightforward way to get names or IDs of signals recorded using Outport blocks in Simulink Real-Time?
Hello, I have a few recommendations for you. First off, I would suggest using file scope over tg.OutputLog as the output log is ...

plus de 6 ans il y a | 0

A répondu
Start and Stop Real Time xPC Target system
You can use the external APIs for Simulink Real-Time (.NET and C) to do this.

plus de 6 ans il y a | 0

A répondu
Connecting to xPC Target using Simulink Real-Time R2017b
You should connect your target to a monitor. I suspect that the kernel is not booting correctly, which is preventing you from be...

plus de 6 ans il y a | 0

A répondu
Simulink Real-Time input and Output to computer program
Hi Sam, Simulink Real-Time leverages a dedicated computer running the Simulink Real-Time Kernel. Using Simulink Coder, you c...

plus de 6 ans il y a | 1

| A accepté

A répondu
How to convert sinewave(any signal) into 8bit binary in Simulink?
Did you try converting to a uint8 data type? You will have to fix the scaling as it will be 0 to 255.

plus de 6 ans il y a | 0

A répondu
Is there workaround to use Dashboard block indicators in External mode (Simulink Real Time)?
Which version of MATLAB are you using? I believe these dashboard blocks work in external mode from R2016a and later.

plus de 6 ans il y a | 0

A répondu
What is the Main Difference between Simulink Desktop Real Time and Simulink Real Time Kernels?
Simulink Desktop Real-Time (SLDRT) kernel is installed with the desktop OS (Mac or Windows). It is limited to using a single cpu...

plus de 6 ans il y a | 3

A répondu
Simulink digital input to decimal from HX711
If the data follows a certain format, like the binary representation for a floating point number, then you probably want to use ...

plus de 6 ans il y a | 0

A répondu
Simulink Real-time 2017a: Failure in Building model with error message - TargetPC1: LoadDLM: WriteFile Error
Please reformat the hard drive on the target PC to be FAT32 and label the volume as C: In prior versions you could use FAT8 a...

plus de 6 ans il y a | 0

A répondu
Simulink Real-Time missing signals
Put a unity gain (gain block with value of 1) in between those blocks and name that block as it makes sense to you (BP Filter, L...

plus de 6 ans il y a | 0

A répondu
How to make a code to access the internet and other programs
You can use system commands to do this. See <http://www.mathworks.com/help/matlab/ref/system.html system> You can also use th...

plus de 6 ans il y a | 1

| A accepté

A répondu
How to achieve test automation using a test harness in Simulink Test?
In the test manager, you will create a test case. Generally speaking, a test case is created to test a specific functionality. T...

plus de 7 ans il y a | 0

A répondu
Simulink real-time setup with no target computer
This will not be possible with Simulink Real-Time as it requires a 2 computer setup (Windows PC for developing Simulink model an...

plus de 7 ans il y a | 0

A répondu
Simulink Real Time Code: Scope update speed issue/data logging issue
Which release are you using? The scope behavior changed a little in recent releases and now you can use tools like the Simulink ...

plus de 7 ans il y a | 1

| A accepté

Charger plus