Alternative of coder.extr​insic(webw​rite) in Simulink when running model on hardware

I am using the following code in my Simulink model which is running on raspberry pi hardware:
coder.extrinsic('webwrite');
url = 'http://alnnovative.com/rts.alnnovative.com/security.php';
response = webwrite(url, "marium", "post");
When I searched through web, I found out that in external mode, code has to generated and coder.extrinsic does not generate code in external mode. So what alternative can I use in this case?

2 Comments

Same here. Also looking for an alternative for webwrite on arduino.
tried manually reverse engineering on the webwrite function but thats syssiphus. Maybe a third Party input for C or C++ could help. Found this: https://whoshuu.github.io/cpr/introduction.html#get-requests

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Asked:

on 4 Jan 2018

Edited:

BA
on 10 Feb 2018

Community Treasure Hunt

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

Start Hunting!