How do I run a controller with Simulink Real Time/Simulink Desktop Real Time?

4 views (last 30 days)
I am trying to build a controller setup which takes a GPS input via CAN (Racelogic VBOX) and outputs four voltages (-5V...+5V), which connect to four microcontrollers, each of which is operating a BLDC motor. As for the controller i intended to use an Intel NUC board, as it is compact and rather cheap, and add a M.2 CAN extension card for the input. What i don't really unterstand is, which software i should use.
Do i use Simulink Desktop Real Time on the controller itself (with an OS on the controller of course) or do i use my ordinary laptop to create the model and load it onto the NUC board via Ethernet? The problem with the second option would be, that the platform has to move in all directions and i would like to dispense with an ethernet cable hanging out of the controller.
Is it even possible to access COM modules in the device manager of Windows without using the recommended Speedgoat hardware?

Answers (1)

Jonas
Jonas on 17 Jun 2019
I would recommend running Simulink Real-time on the Intel NUC. I don't know which CPU you have fitted inside the NUC, but some may be better for running SLRT than others. However, you may run into difficulties for supporting the M.2 CAN interface. I am not so sure the support for peripherals is so extensive. I have for example expanded my target machine running SLRT with an additional PCIe Networking card for more Ethernet connections and it is working flawlessly, but I fear M.2 CAN interfaces may be a bit more exotic.
I am also wondering why you are referencing SpeedGoat? From what I understand from your problem you have no SpeedGoat hardware in the system in use?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!