Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by prankmunky

  1. prankmunky

    m-file (level 2) s-function - dynamic frame data setting

    I am now having problems when running my simulation with an m-file s-function that i have created. I recieve the following block error when i simulate: Source 'registration/M-file (level-2) S-Function' cannot have dynamic frame data setting for its output port 1. All sources should explicitly...
  2. prankmunky

    mex link error when compiling s-function c++

    I have gotten my s-function to compile in Visual Studio .NET 2003 but when I run the mex command on it in MATLAB to create the dll for the s-function it gives me this error when attempting to link: --> "link /out:"regICPMAT.dll" /debug /dll /export:mexFunction /MAP...
  3. prankmunky

    S-function Builder and Dynamic Arrays

    Does anyone know if the s-function builder can use an array of unknown size (ie a dynamic array) as input. If so how?
  4. prankmunky

    problem writing s-function (c/c++) inputports problem with arrays

    I am a new user of simulink and I'm sure my problem is quite simple for someone with some experience writing s-functions. I am attempting to write an s-function in c++ that takes as input 3 double[][3] arrays(the row value is to be dynamicaly_size) and 3 integer values as input. The output I...

Part and Inventory Search