Risposto
How do I pass Simulink variables from the “Configuration Parameters” to a GUI created using GUIDE?
I think the problem might that you are defining the variables (sim_time, etc.) in the function workspace of your GUI, but the Si...

oltre 13 anni fa | 0

| accettato

Risposto
find_system('stateflow_chart_handle', 'StateflowType', 'Data')
You need to use the <http://www.mathworks.com/help/stateflow/api/quick-start-for-the-stateflow-api.html Stateflow API> to search...

oltre 13 anni fa | 2

| accettato

Risposto
How can i play sound from Simulink???
Try the <http://www.mathworks.com/help/matlab/ref/sound.html SOUND> function.

oltre 13 anni fa | 0

Risposto
How to set the value of RTWCAPIRootIO in TLC file?
I suspect that there is an internal TLC file that overrides your setting with that obtained from the Configuration Parameters. N...

oltre 13 anni fa | 0

| accettato

Risposto
any application closing using matlab
If the open application is a COM server, you might also be able to use the MATLAB COM API (Although I haven't tried this on my e...

oltre 13 anni fa | 1

Risposto
Environment Setup for TICCS for the board eZdsp f28335 in matlab and simulink
I'm not very familiar with that environment either, but you might find it useful to run <http://www.mathworks.com/products/embed...

oltre 13 anni fa | 0

Risposto
about how to use embedded matlab function
Do you mean that the following commands return different results for you: >> cd >> !cd If you don't know how to con...

oltre 13 anni fa | 0

Risposto
how to read in variable from workspace in s-function written in C without simulink crashing
Your use of the MEX API looks fine to me, but I think you're making some syntactic mistakes: *currentTemperature = tempera...

oltre 13 anni fa | 0

| accettato

Risposto
How to enter a value to a simulation while it is executing
Assuming that the variables a and b correspond to tunable parameters of a block, you can indeed change the value of either varia...

oltre 13 anni fa | 0

| accettato

Risposto
Matlab type mismatch in Embedded Matlab Functions
Please see Alexander's answer on <http://www.mathworks.com/matlabcentral/answers/12071 this previously answered question>.

oltre 13 anni fa | 0

Risposto
Why I cannot find the ".NET Assembly" option in the Deployment Tool in Matlab 2012b?
Perhaps you have not installed, or don't have a license for <http://www.mathworks.com/products/netbuilder/ MATLAB Builder NE>?

oltre 13 anni fa | 0

Risposto
Display or highlight parts of simulink model from script
I think you need <http://www.mathworks.com/help/simulink/slref/hilite_system.html hilite_system>.

oltre 13 anni fa | 0

Risposto
How can I stream data form MATLAB to Simulink in real time?
You can either use the block <http://www.mathworks.com/help/simulink/ug/accessing-block-data-during-simulation.html RuntimeObjec...

oltre 13 anni fa | 1

| accettato

Risposto
Pause and play simulink in programming
See <http://www.mathworks.com/support/tech-notes/1900/1903.html#13 this page> for information on using the SET_PARAM command to ...

oltre 13 anni fa | 1

| accettato

Risposto
Inputting frame-based signals to Stateflow Chart
I'm not 100% sure, but seeing the error message, it looks like Stateflow charts don't support frame-based signals at this point....

oltre 13 anni fa | 0

| accettato

Risposto
Simulink Coder - pass by reference
Do you mean that each block should perform "in-place" operations? In other words, the output signal reuses the same memory locat...

oltre 13 anni fa | 0

Risposto
Simulink model -> executable file
I don't know a lot about these blocks, but it looks like the file name is a non-tunable parameter in both cases, which means tha...

oltre 13 anni fa | 1

Risposto
Real-Time-Workshop access to Simulink Model
Ah. I see that you have probably configured Code Generation>Interface>Data exchange>Interface to "C API" on the Configuration Pa...

oltre 13 anni fa | 0

Risposto
More than one output for level-2 S-function
If need to have two output ports, shouldn't you have: block.NumOutputPorts = 2; %you've set this to 1 Also, right after...

oltre 13 anni fa | 0

Risposto
using C# functions in matlab
Is it a .NET library? If yes, see <http://www.mathworks.com/help/matlab/using-net-libraries-in-matlab.html Using .NET Libraries ...

oltre 13 anni fa | 2

Risposto
Strange Error!..... Error while obtaining sizes from Mex-sfunction (in simulink)
S-functions are a special kind of MEX-function which have a <http://www.mathworks.com/help/simulink/sfg/example-of-a-basic-c-mex...

oltre 13 anni fa | 0

| accettato

Risposto
Calling function from dll within C-MEX
If you're using 64-bit MATLAB, you might need to make sure that the DLL is also 64-bit - I believe the default configuration for...

oltre 13 anni fa | 0

| accettato

Risposto
use s-function in the SimPowerSystems
I don't know a lot about the physical modeling domain on Simulink, but if you're trying to create your own SimScape-based compon...

oltre 13 anni fa | 0

Risposto
how to change the reference of linked block..
I don't imagine that this would be allowed with a simple |set_param| command because it might mean that things could go wrong wi...

oltre 13 anni fa | 1

Risposto
Can't shut down COM automation server instances of MATLAB
Does |servH(ix).Quit| pass for |ix=1| and fail thereafter? If yes, I wonder if you're calling the Quit method in a loop too quic...

oltre 13 anni fa | 0

Risposto
TLC equivalent of find_system(...)
There is no equivalent of |find_system| in TLC, but you can write your own MATLAB helper function and call it using the <http://...

oltre 13 anni fa | 0

| accettato

Risposto
codegen: can I use a Matlab global structure in a mex function created with codegen?
I wonder if you should do something like: function_2 %#codegen global S if isempty(S) S = struct ('a', 0); ...

oltre 13 anni fa | 0

Risposto
Deploytool error while building
# You need to install and setup a C/C++ compiler because MATLAB Compiler generates C files that call into MATLAB runtime librari...

oltre 13 anni fa | 0

| accettato

Risposto
Creating a TCP Server MEX file
I'm not sure if there is a workaround to this, since it looks like MATLAB Coder does not support the 'tcpip' class for code-gene...

oltre 13 anni fa | 0

| accettato

Risposto
How to get the data.dat from target computer to host computer with XPC API function?
Looks like you need <http://www.mathworks.com/help/xpc/ref/xpctarget.ftp.getftp.html xpctarget.ftp.get>

oltre 13 anni fa | 0

Carica altro