Rank: 457846 based on 0 downloads (last 30 days) and 0 file submitted
photo

Neil

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Neil View all
Updated File Comments Rating
17 Feb 2014 Simulink Support Package for Raspberry Pi Hardware Credit-card sized, low-cost, single-board computer with audio and video input/output Author: MathWorks Simulink Team

Hello, I've finally figured it out. All of the source files are native to the Pi on it's ext file system. You can implement linux commands on the RPi using the h=raspberrypi; connection object.

Also there are third party programs such as WinSCP which will allow you to establish a connection with the RPi to give you a windows explorer-like interface where you can drag and drop files.

Once I figured this out, I've come to realize how powerful this is. We get the native flexibility of the RPi with the added power of loading SIMULINK models. Thank you.

16 Feb 2014 Simulink Support Package for Raspberry Pi Hardware Credit-card sized, low-cost, single-board computer with audio and video input/output Author: MathWorks Simulink Team

14 Feb 2014 Simulink Support Package for Raspberry Pi Hardware Credit-card sized, low-cost, single-board computer with audio and video input/output Author: MathWorks Simulink Team

Hi, I was wondering, does anyone know where the headers are located? I looked in all the source directories and they don't have any of the .h or .c files the RPi is able to call.

14 Feb 2014 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa

Hello thank you for the reply. I have finally got it working with much success. I'm still not sure where the "inlined" error came from but now it's gone.

I have a question for you. I'm trying to use global variables throughout the simulink model. It works if I call the variable within the same s-function as your guide said. However, if I call that variable in another S-function it gives me an error " error: <variable> undeclared (first use in this function)" pertaining to the wrapper file. I find this strange since all my calls to functions within the "#includes" headers work.

For example, my includes section looks as shown below:

# ifndef MATLAB_MEX_FILE
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
int uart0_filestream = -1;

# endif

I can call all functions within the first 3 headers, however, if I call uart0_filestream in another block I get the error.

07 Feb 2014 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa

Contact us