Respondida
MATLAB Builder JA (R2012a) application running on Solaris 10 (5.10 Generic_144500-19)
AFAIK, Solaris is not a <http://www.mathworks.com/support/sysreq/current_release/ supported platform> for MATLAB in general. So ...

más de 14 años hace | 1

Respondida
How to build .m files into .mex files correctly
Shared libraries generating using MATLAB Compiler are meant for deploying on a machine that does not have MATLAB installed - thi...

más de 14 años hace | 0

| aceptada

Respondida
continuous signal delay
Feed p(k) into the <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/slref/unitdelay.html Unit Delay> block to get...

más de 14 años hace | 2

Respondida
sample time error for simulink model consisting of xilinx block sets
The error appears to be pretty clear. Do you have a sample time of 1000000 anywhere in your model? You either need to reduce tha...

más de 14 años hace | 0

Respondida
s-function error
In both mdlDerivatives and mdlOutputs, you have these lines: x = x(1); xdot = x(2); The first...

más de 14 años hace | 1

| aceptada

Respondida
I' m unable to run cpp code in Matlab using mex command. I'm getting following errors.
I think you should name your file with the .cpp extension if you have C++ code in it, so the compiler knows to treat it like one...

más de 14 años hace | 0

| aceptada

Respondida
generate C code from a simulink model for CCSv5 IDE?
I haven't done this personally, but I think the workflow for CCSv5 is the same as for CCSv4. Please see <http://www.mathworks.co...

más de 14 años hace | 0

Respondida
Import data in Simulink
Sorry, your question is not very clear to me. Could you explain why the 'From File' and 'From Workspace' blocks didn't work - if...

más de 14 años hace | 0

| aceptada

Respondida
Saving Simulink variable to Matlab workspace
AFAIK, the "To Workspace" block logs the signal at each time-step. At the end of simulation, there is an array/structure with si...

más de 14 años hace | 1

Respondida
Runtime in subsystem Simulink
From what I understand, you have a For Iterator system that runs for 96 iterations inside an Enabled Subsystem that is enabled a...

más de 14 años hace | 0

Respondida
Disassociate Xilinx from MatLab
I'm guessing the Xilinx paths are still on the MATLAB path and need to be removed. Run "pathtool" from the MATLAB prompt and rem...

más de 14 años hace | 1

| aceptada

Respondida
Set Simulink block values from GUI in a running model using a RunTimeBlock?
As the error suggests, the RunTimeHandle.OutputPort(1).Data (or the Data property of any port) is read-only, so you cannot set i...

más de 14 años hace | 2

| aceptada

Respondida
Cannot locate RTW S-function from Simulink Coder: R2010a
Perhaps your colleague is running on a 32-bit machine or MATLAB installation? MEX-files are platform specific (basically, they a...

más de 14 años hace | 0

Respondida
Transfer Function Problem in Simulink?
What you want to do is specify an Initial Condition(IC) to the block. Unfortunately, the transfer function block does not allow ...

más de 14 años hace | 1

| aceptada

Respondida
S-function error
Iman: I would recommend looking at some of Level-1 S-function demos. Type "sfundemos" at the MATLAB prompt and select MATLAB fil...

más de 14 años hace | 1

| aceptada

Respondida
S-function error
NumSampleTimes cannot be a fractional value. You need to change: sizes.NumSampleTimes = 0.05; to: sizes.NumSample...

más de 14 años hace | 4

| aceptada

Respondida
Sequential calling to SIMULINK from a time marching MATLAB simulation
Instead of calling SIM manually, I think a better approach might be to use one of three MATLAB <http://www.mathworks.com/help/to...

más de 14 años hace | 1

| aceptada

Respondida
Loading 64-bit National Instruments library in 64-bit Matlab
The "is not a valid Win32 application" error usually means that you are attempting to load a 32-bit DLL using 64-bit MATLAB. Per...

más de 14 años hace | 1

| aceptada

Respondida
'name.bat' is not recognized as an internal or external command, operable program or batch file in matlab
Have you run "mex -setup" on your R2012a installation? I have run into a similar issue in the past, and running "mex -setup" fix...

más de 14 años hace | 5

| aceptada

Respondida
Deploying Standalone Executable with No MCR
As you have already heard, the MCR is absolutely required to deploy executables generated using MATLAB Compiler. According to th...

más de 14 años hace | 0

| aceptada

Respondida
Reset Simulink model from m file
Using set_param(model, 'SimulationCommand', 'stop') followed by set_param(model, 'SimulationCommand', 'start') does restart the ...

más de 14 años hace | 3

| aceptada

Respondida
Mex Compiler error
Install a <http://www.mathworks.com/support/compilers/previous_releases.html supported compiler> by looking at the list for your...

más de 14 años hace | 0

Respondida
Error: Real-Time Workshop Error: The nonfinite '-inf' is required but nonfinite support is not selected. Please enable nonfinite support.
I'm guessing that nonfinite numbers violate AUTOSAR compliance rules, which is why that option is disabled? The best course of a...

más de 14 años hace | 0

Respondida
SIMULINK: Microphone input, how to?
If you have access to the DSP System Toolbox (formerly Signal Processing Blockset), you might be able to use the <http://www.mat...

más de 14 años hace | 1

Respondida
variable cost function MPC toolbox
Your question is not entirely clear to me: "manipulated variable which I want to be used during night and remained turned off du...

más de 14 años hace | 2

Respondida
reverse multiport switch
A similar question has been asked before. Please see: http://www.mathworks.com/matlabcentral/answers/38151-invert-multiport-swit...

más de 14 años hace | 0

| aceptada

Respondida
How to update variable in Workspace during simulation?
I'm assuming that you are using something like the To Workspace block to write data to the workspace? I explained a little in my...

más de 14 años hace | 1

Respondida
Zero length license error in using MATLAB Compiler R2012a
Looks like this was a <http://www.mathworks.com/support/bugreports/624388 bug in R2009b and R2010a>. Perhaps you should contact ...

más de 14 años hace | 0

Respondida
Matlab Coder Error: Cannot Process Options
You need to run the "codegen" command, not the "coder" command: >> codegen -args {0} HW -report

más de 14 años hace | 0

| aceptada

Respondida
Simulink - Change continuous state value at a given time point
I'm curious about why you chose to use continuous states instead of discrete states if you do not need the state to be integrate...

más de 14 años hace | 0

Cargar más