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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 2

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 2

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 4

| accettato

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 1

| accettato

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

quasi 14 anni fa | 5

| accettato

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 3

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 2

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 0

| accettato

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

quasi 14 anni fa | 0

Carica altro