Risposto
Difference between ssGetInputPortRealSignal and ssGetInputPortRealSignalPtrs
You are correct that "ssGetInputPortRealSignals requires time *contiguous* signals which can be initialzed with the macro ssSetI...

circa 13 anni fa | 0

| accettato

Risposto
'Undefined reference to' error in S-function builder
In the Library/Object/Source file pane, you need to specify the full filename (including the .c extension): convert_ok.c ...

circa 13 anni fa | 0

| accettato

Risposto
Does model-based calibration toolbox supported by MATLAB Compiler RunTime?
According to <http://www.mathworks.com/products/ineligible_programs/ this page>, Model-Based Calibration Toolbox is not supporte...

circa 13 anni fa | 0

Risposto
What are the differences (if any) between Matlab system objects and class objects?
In my own words, System objects are a *subset* of standard MATLAB class objects which inherit from an interface class named matl...

circa 13 anni fa | 5

| accettato

Risposto
convert from C# to matlab
If you have .NET libraries, they can be invoked directly in MATLAB. See <http://www.mathworks.com/help/matlab/using-net-librarie...

circa 13 anni fa | 0

Risposto
How to build a simple simulink standalone execution file?
I suspect your TEMP environment variable is set to C:\Users\KELVIN~1\AppData\Local\Temp which Simulink Coder is trying to use. Y...

circa 13 anni fa | 0

Risposto
How to deal with matlab functions that are unsupported when using Matlab Coder? (How can I transfer Matlab intrinsic function 'quadprog()' into C code using Matlab Coder?)
You can only generate standalone C/C++ code from <http://www.mathworks.com/help/releases/R2011a/toolbox/eml/ug/bq1h2z7-11.html f...

circa 13 anni fa | 5

| accettato

Risposto
Using Mex with Classes
There might be other solutions to this, but if you'd like to maintain the handle inside the MEX-function, you could try declarin...

circa 13 anni fa | 0

Risposto
Generation of a simulink block/blockset by MATLAB editor
There are <http://www.mathworks.com/help/simulink/ug/types-of-custom-blocks.html#bq3t2zz three different ways> to bring a MATLAB...

circa 13 anni fa | 0

Risposto
creating a .exe including sim
Please see these previously answered questions: http://www.mathworks.com/matlabcentral/answers/10193-matlab-compiler-and-simu...

circa 13 anni fa | 0

Risposto
Is there a good method to tune structure parameters during simulation?
Every time you change a parameter value in the workspace, you need to run |set_param('modelname', 'SimulationCommand', 'update')...

circa 13 anni fa | 0

| accettato

Risposto
S-function error - compilation ok
Do you call |main()| in the S-function Builder Outputs pane? How is the input 'u' and output 'y' passed in? I would recommend th...

circa 13 anni fa | 0

| accettato

Risposto
how to send Data to workspace
Please see the second paragraph in my answer <http://www.mathworks.com/matlabcentral/answers/27443-my-variables-in-workspace-are...

circa 13 anni fa | 0

| accettato

Risposto
what is the difference between simulink control design and control system toolbox?
I don't know a lot about Simulink Control Design, but perhaps the <http://www.mathworks.com/products/simcontrol/description1.htm...

circa 13 anni fa | 0

Risposto
How to give control to GUI while GUI is executing simulink model in a for loop
Perhaps you can create a <http://www.mathworks.com/help/simulink/ug/controlling-execution-of-a-simulation.html#bq0htpd Pause blo...

circa 13 anni fa | 0

Risposto
How to model road profile in matlab/simulink?
Please see <http://www.mathworks.com/help/simulink/ug/importing-signal-data-in-simulink.html Techniques for Importing Signal Dat...

circa 13 anni fa | 0

Risposto
How to ressolve Lookup Table Error?
It looks like your input values sometimes exceed the range that you specified in "Breakpoints 1" (assuming you're using the <htt...

circa 13 anni fa | 2

| accettato

Risposto
Handle the external reference in the DLL generation TLC files
Are these blocks all S-functions? If yes, the right way to do this is to create a <http://www.mathworks.com/help/rtw/ug/customiz...

circa 13 anni fa | 1

| accettato

Risposto
how to load dll file ? "The specified module could not be found." i have refered lot
Please see <http://www.mathworks.com/support/solutions/en/data/1-1BOHD/index.html Why do I receive the error message "??? The sp...

circa 13 anni fa | 2

Risposto
simulink: When i connect element, it shows red dashed line and red circle
As explained in the links that Walter posted, the rest of your blocks appear to be Simulink/SimPowerSystems blocks which do not ...

circa 13 anni fa | 0

Risposto
2 inputs from Stereo MIC to Simulink
What about if you use the <http://www.mathworks.com/help/simulink/slref/demux.html Demux> block instead?

circa 13 anni fa | 0

Risposto
Problem with Level2 s function
Why not just use the <http://www.mathworks.com/help/simulink/slref/toworkspace.html To Workspace> block?

circa 13 anni fa | 0

Risposto
set a parameter in a contantblock during external simulation with a parfor loop.
Please read <http://www.mathworks.com/help/simulink/ug/running-parallel-simulations.html Run Parallel Simulations>. In particula...

circa 13 anni fa | 0

| accettato

Risposto
How to save a buffer from a tlc file and use it in another tlc file
Since SLibCacheCodeToFile is not documented, I'm not sure what the write way to use it is. Typically the documented functions us...

circa 13 anni fa | 0

| accettato

Risposto
How to install select callback function in STF?
The code: slConfigUISetVal(hDlg, hSrc, 'ModelReferenceCompliant', 'on'); slConfigUISetEnabled(hDlg, hSrc, 'ModelReferenc...

circa 13 anni fa | 0

| accettato

Risposto
Errors using Embeded MATLAB function block
Are you trying to pass in a structure/Bus signal as input to your MATLAB Function block? If so, you need to define the input typ...

circa 13 anni fa | 0

Risposto
How can I generate a Command Window error from Simulink block mask editor (Initialization Tab)?
I think the right place to validate mask parameters is the dialog callbacks, rather than Mask Initialization. Read <http://blogs...

circa 13 anni fa | 0

Risposto
How to use the C code generated from Real time Workshop in Visual Studio?
I think the easiest way is to select the System target file (in the Configuration Parameters window's Code Generation pane) that...

oltre 13 anni fa | 0

| accettato

Risposto
How to create .exe for GUI which send input and receive updated values from the model
Are the supported functions all related to Simulink? Note that Simulink is not supported for deployment with MATLAB Compiler. Ho...

oltre 13 anni fa | 0

| accettato

Risposto
How to simulate a Simulnk model by a standalone executable?
See <http://www.mathworks.com/matlabcentral/answers/10193-matlab-compiler-and-simulink this previous answer> about why you are u...

oltre 13 anni fa | 0

Carica altro