MATLAB: Arduino Internal Pull Up Mode in Simulink

arduinomakerpin modesimulink

Is there a way to set the pin mode to pull up in Simulink? I see there is a method in MATLAB:
a = arduino('COM4','Uno');
configurePin(a,'D3','pullup');
How would I set this for my Simulink model? Thanks!

Best Answer

I created a custom device driver to solve my problem. The block can be found here: Arduino Pinmode Input Pull Up
Related Question