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...
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...
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...