Info

This question is closed. Reopen it to edit or answer.

S Function Builder External mode error

1 view (last 30 days)
Muhammad Usman Khan
Muhammad Usman Khan on 29 Mar 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
Dear All!
I have a problem with S-Function Builder in SIMULINK.
Whenever i insert any function or library like <Arduino.h>, it gives some error in external mode connected with Arduino (Text file of the error is attached). However it works fine when it is empty or no functions or libraries are included. A picture is also attached of the s-function builder.
I have already gone through some posts and applied the follwoing corrections but i am getting the same error again and again
  • The file directory has no spaces, D:\Sfunctions\firstcode.slx .
  • The header files if i use is in the same folder in which the program is but still i am getting error.
  • For the error attached only <Arduino.h> header file is used in the S-function builder
Thanks a lot for your time.

Answers (0)

Tags

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!