Compile and Debug Mex files with Visual Studio 2010
Show older comments
Hello,
I'd like to use Visual Studio to compile and debug simulink s-function mex files using the Visual Studio 2010 IDE. So far I have managed to compile mexw32 files using this guide.
However, I can't figure out how to "load" the output file into the s-function simulink block. It seems that this block only accepts source code files. I'd like to use the mex file compiled with Visual Studio instead.
Any thoughts?
I'm running Matlab 7.12 (2011a) on windows XP x86 Service Pack 3.
Mathew
Accepted Answer
More Answers (2)
Mathew
on 25 Apr 2012
0 votes
Mike Woodward
on 28 Jun 2012
Edited: Walter Roberson
on 28 Jun 2012
0 votes
Hi,
The content on this web page should help solve your problem: http://www.mathworks.com/programs/simulink-visual-studio/simulink-and-visual-studio.html
Mike
1 Comment
Robert Jack
on 28 Jul 2023
Page no longer exists
Categories
Find more on Block and Blockset Authoring in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!