S-function in APM2 Simulink Blockset

I'm using APM2 Simulink Blockset and I've this problem : Error in S-function 'IMU_Serial_Example/6-DOF IMU': S-Function 'Arduino_IMU_sfcn' does not exist cauld any one help me ? Matlab 2012b

回答(2 个)

kheirou
kheirou 2015-2-23
Is there any solutions
Abhishek GS
Abhishek GS 2015-2-24
Hi Kheirou,
I am sure you are aware that APM2 Simulink Blockset is not a MathWorks Toolbox. Once you have the Simulink Blockset and the associated S-Functions, you will have to mex the S-Functions inorder for you to be able to use them.
1) Set up a third party C/C++ compiler which is compatible for your version of MATLAB.
2) Find more information about mex here .

此问题已关闭。

提问:

2015-2-23

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by