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

alrededor de 13 años hace | 0

| aceptada

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

alrededor de 13 años hace | 0

| aceptada

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

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 5

| aceptada

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

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 5

| aceptada

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

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 0

Respondida
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')...

alrededor de 13 años hace | 0

| aceptada

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

alrededor de 13 años hace | 0

| aceptada

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

alrededor de 13 años hace | 0

| aceptada

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

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 2

| aceptada

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

alrededor de 13 años hace | 1

| aceptada

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

alrededor de 13 años hace | 2

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

alrededor de 13 años hace | 0

Respondida
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?

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 0

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

alrededor de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

Cargar más