Answered
R2012b xPC Target xpcexplr cannot open
Hi, thats a bug. Patch can be found <http://www.mathworks.com/support/bugreports/874378 here>.

11 years ago | 0

| accepted

Answered
Simplify throws an error message and I don't understand why
Hi, that syntax is a MuPAD command so it works in MuPAD only. In the case you want to call it from MATLAB use: feval(sym...

11 years ago | 1

| accepted

Answered
problem using textscan: doesnt actually scan anything.
Hi, try fid = fopen('C:\Users\Lab\Desktop\niv.txt') num=textscan(fid,'%d') fclose(fid)

11 years ago | 0

| accepted

Answered
Error in mex (line 206) please help
Hi, run the following code and post the output here: disp('OS') disp('=====================================') syst...

11 years ago | 1

| accepted

Answered
how to use system() to cal external Winzip to matlab?
Hi, based on some <http://www.memecode.com/docs/winzip.html searching the internet> you can do something along this: fol...

11 years ago | 0

| accepted

Answered
Use of Arrays in Simulink
Hi, why not using a MATLAB function block with this code: function y = fcn(u) %#codegen u(u<5) = 0; y = u; ...

11 years ago | 2

| accepted

Answered
using windows event manager
Hi, you could write a C/C++ MEX file and use <http://msdn.microsoft.com/en-us/library/aa363679%28v=vs.85%29.aspx ReportEvent>...

11 years ago | 0

| accepted

Answered
Mex - Compiler doesn't include *.lib but they are there!
Hi, it seems like you specified the full name to the lib file. That is not needed. with -L flag you specifiy the folders to l...

11 years ago | 0

| accepted

Answered
please i want to calculate sum of E generated (i.e 1 to 5). i try it but the last E generated is showing as Etotal
Hi, without having a close look I guess the last line should be: Etotal = Etotal + sum(E) Also declare Etotal to be 0 ...

11 years ago | 0

| accepted

Answered
Extracting y-data from ezplot.
Hi, you need to get the contourMatrix: bla = ezplot('1.5*x.^.56*y.^.44=1', [0 6 0 6]); tmp = get(bla,'contourMatr...

11 years ago | 1

| accepted

Answered
How to read .ini file dynamically during runtime using standalone application created using Matlab Compiler
Hi, use <http://www.mathworks.com/support/solutions/en/data/1-6OFV37/index.html this> and place the .ini file in the same fol...

11 years ago | 0

| accepted

Answered
Using Test & Measurement Toolbox to control Keithley 6517b via ICS 488-USB2 USB-to-GPIB, however Toolbox is not detecting hardware. Can anyone help?
Hi did you took a look <https://www.mathworks.com/products/daq/supported/keithley-instruments.html here>. It seems like you n...

11 years ago | 0

Answered
parfor failed to deserialize data.
Hi, it seems like a worker is sending back data to MATLAB which is corruped or too big. keep in mind the size limitation of t...

11 years ago | 0

| accepted

Answered
What do I need to compile a Simulink Model?
Hi, example and explanation <http://www.mathworks.com/support/solutions/en/data/1-KPFVVI/index.html here>.

11 years ago | 2

| accepted

Answered
Numerical solution of ODE
Hi, take a look at that <http://www.mathworks.com/matlabcentral/answers/13502-second-order-ode-with-initial-conditions post>....

11 years ago | 1

Answered
How can I use variables in mkdir?
Hi, what about a = 'hello' b = 'world' c = 12 d = 'xxx' mkdir([a,'.',b,'.',num2str(c),'.',d])

11 years ago | 0

| accepted

Answered
Best practice for C files in matlab 64bit
Clearly the DLL does not export the "return_my_double" function. Recompile your code correctly and make sure the function is rea...

11 years ago | 1

| accepted

Answered
problem in MEX SETUP
Hi man, # don't panic ;) # Take a look at the SDK install log (Clicke the View Log Button). Scroll down and start reading fr...

11 years ago | 1

| accepted

Answered
In parfor, how to create a temp folder for every worker
Hi, I would use the process ID for that: matlabpool open 4 parfor i=1:20 w=getCurrentWorker; mydir = f...

11 years ago | 1

| accepted

Answered
Issue to remove generated mex file after Simulink Model execution in parfor
Hi, try a clear mex before removing the directory.

11 years ago | 1

| accepted

Answered
Task scheduling for Matlab
Hi, this command seems pretty strange. I would rather expect that you select the MATLAB.exe as program to run in the TaskSche...

11 years ago | 0

| accepted

Answered
Java Error when call function fom .net assembly in c#
Hi, are you using R2013a? If so, the second error regarding the mkl.dll could be this: <http://www.mathworks.com/support/b...

11 years ago | 0

| accepted

Answered
In order to use my compiled mex function windows SDK 7.1 is required... Does anyone know why?
Hi, You don't need the SDK 7.1 in order to run a compiled component, e.g. a mex file. You simply need the Visual Studio 2010 ...

11 years ago | 0

| accepted

Answered
Java error on starting MATLAB R2013a
Hi, what does this give for you >>org.apache.log4j.Logger.getLogger('com.almworks.sqlite4java').getLevel ans = ...

11 years ago | 2

| accepted

Answered
How can I check out an offline license from concurrent network license
Hi, I guess you mean <http://www.mathworks.com/help/install/license/borrowing-licenses.html license Borrowing>. If you need a...

11 years ago | 0

| accepted

Answered
compiled code doesn't find perl script
Hi, either use fullfile and ctfroot to get there abs_pth = fullfile(ctfroot,'home','yannick','bin','myfile.pl') Or us...

11 years ago | 0

| accepted

Answered
I have 2 cellArray which changes double to string. I wanna compare these 2 cellArray whether they are same or not.
Hi, in your case (double array or cell which contains char data) an isqual is enough: % cellArray=[1,2,3] %double % c...

11 years ago | 0

| accepted

Answered
How to create a void function in MATLAB?
Hi, %void myfun(void) function myfun() %void myfun(double a) function myfun(a) So in your case something ...

11 years ago | 36

| accepted

Answered
Calling new on Matlab Generated Class from Dot Net Crushes the App (m_interpreter.dll)
Hi, try disabling the JIT from the C# side: [assembly: MathWorks.MATLAB.NET.Utility.MWMCROption("-nojit")] Does it w...

11 years ago | 0

Answered
Access to Excel-Worksheet-Cells Property
Hi, use this: get(get(oWorksheet,'Cells',2,2),'Address')

11 years ago | 3

| accepted

Load more