Hello,
I try to simulate two S-function blocks. Each of this blocks use the same 2 static libraries. Due to it, when I generate the 2 static libraries with Visual Studio 2010, in the project properties, I set the "Runtime Library" option to "Multi-threaded(/MT)".
Afterwards, I generate the...
Hello,
I am using the Real Time Workshop and trying to build a simulink model but I keep getting this error:
error C2079: 'statesInfo2' uses undefined struct '_ssStatesInfo2'
I have this struct in a file generated by the Real Time Workshop.
Any help would be really appreciated.
Thaks...
Hello,
I have generated my own static library using Visual Studio 2010 and I wanted use the entire library in a Simulink model. In this Simulink model I have different blocks. Two of them are S-functions and I would like to use this library in this two blocks, but I do not know if there is some...
Hello everybody,
I am trying to debug 2 S-Function blocks using Visual Studio 2010. I have done it following the instructions of the link
http://www.mathworks.es/help/toolbox/simulink/sfg/bq2rjeu-1.html
Because I use Visual Studio for debugging I have done what says the point: "Debugging C...
Hello everyone,
I went through the documentation for the S-Function Builder from Mathworks, but I do not know if it is possible use c++ with S-Function Builder or just C.
I did some test and I wrote the same code for a C and for a C++ using a S-Function Builer. For the one in C I did not get...
Hello,
I am a begginer in simulink and I am trying to pass a structure from one block to another block.
My first approach is utilizing a bus to send the structure from the first block to the second one, but I do not know how to connect both blocks with a bus. Every time I connect them, it...