f



Simulink Coder / TMF question: how to get a <model>.bat file for x86 using 64 bit Matlab?

Hello,

I'm trying to write a template makefile that will produce 32-bit binaries on a 64 bit installation of Matlab. So far, I set CPU = i386 in the .tmf file, but it still tries to produce a 64-bit binary. I could also narrow down the problem to the <model>.bat file which is generated automatically.

Basically, Matlab 64 bit writes the first line as:
call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" AMD64
and the only thing I need to do is remove AMD64 and it works.

So how can I get the Simulink Coder not to omit this in the generated .bat file???

Is there a specific value for COMPILER_TOOL_CHAIN that I can use? It seems that COMPILER_TOOL_CHAIN = vc implies 64 bit on a 64bit installation of Matlab...

Thanks in advance for any help on this subject!

Best regards,
Fritz
0
3/27/2012 3:15:12 PM
comp.soft-sys.matlab 211266 articles. 25 followers. lunamoonmoon (257) is leader. Post Follow

1 Replies
1236 Views

Similar Articles

[PageSpeed] 27

> So how can I get the Simulink Coder not to omit this in the generated .bat file???
Sorry, there was a typo. It should of course be:
So how can I get the Simulink Coder to omit this [the AMD64 argument to vcvarsall.bat] in the generated .bat file???
0
3/29/2012 6:10:17 AM
Reply:

Similar Artilces:

Can anyone help me that How can i make the MATLAB-simulink model faster?? I am using, MATLAB 7.9.0(R2009b(64-bit).
When i am running my simulation model in MAT-Lab,it takes more time.Can anyone help me that How can i make it faster?? Initially,i kept it on "Normal Mode"...Simulation is very Slow .But,when I kept on "Accelerator Mode"....it is not working means some Error is coming. The Error is:-... "Unable to locate a Visual C/C++, Watcom, Borland, Intel, or LCC compiler. Please define one of the following environment variables: Real-Time Workshop builds with Microsoft Visual C on 64 bit windows require that the compiler be installed. At least one of these environment variab...

What is the best way to import Excel files, with stock data, into Matlab? I’m using Matlab R2010b (64-bit)
What is the best way to import Excel files, with stock data, into Matlab? I’m using Matlab R2010b (64-bit) I’m trying to import historical prices of stock data. Matlab keeps cutting off the header of each column; it gives me only values. I am thinking that this is a data-type-mixing-issue, or whatever it’s called. I have ‘Dates’ in ColumnA, and ‘MSFT’, ‘PWER’, ‘KO’, and ‘SBUX’, in ColumnB-ColumnE. Basically, if I put the Excel file in my Matlab folder and double-click the file, I see the values in a matrix (no dates and no headers), I hit ‘Next’. Then, I see only one option; one radio button is enabled – ‘Create variable matching preview’. The other two options, ‘Create vectors from each column using column names’ and ‘Create vectors from each row using row names’ – both are greyed out. I’ve seen videos, on YouTube and on the Matlab site, where people import excel data and these options are NOT greyed out. No matter what I do, there options are ALWAYS greyed out. The problem is, when I click ‘Finish’ in my ‘Workspace’ I have a variable named ‘data’ all values in a 575x4 matrix, but I have NO DATES and I have NO HEADERS on the columns. All of this seems to go into another variable, called ‘textdata’; all dates and headers ate in textdata. This is VERY inconvenient. I’m trying to analyze some stock data and I have no headers, so I have no idea which stock is which (I can figure it out, but I think Matlab should do this for me). Also, I have no dates corresponding to ...

can Matlab support 32-bit matlab version scripts on 64-bit version of matlab
can Matlab support 32-bit matlab version scripts on 64-bit version of matlab in windows platform?.if yes , how is the performance better ? please do answer this question thank u "Gangamma " <gangvsng@gmail.com> wrote in message <hvmr7h$sn0$1@fred.mathworks.com>... > can Matlab support 32-bit matlab version scripts on 64-bit version of matlab in windows platform?.if yes , how is the performance better ? Yes, Matlab program written in 32/64 bits are compatible accepted MEX file. 64-bit version can handle larger array but does *NOT* improve speed. Br...

can Matlab support 32-bit matlab version scripts on 64-bit version of matlab #2
can Matlab support 32-bit matlab version scripts on 64-bit version of matlab in windows platform?.if yes , how is the performance better ? please do answer this question thank u ...

64-bit Matlab scripts on 32-bit Matlab?
Hello, I wish to use script which perform some simple calculations on NetCDF variables and store result values as a matrix. Author claims that script needs 64-bit MATLAB version installed on Linux machine. Unfortunately, although I have 64-bit machine, under Linux I have access to 32-bit MATLAB only. Following warning is returned: Error using class The CLASS function must be called from a class constructor. Could you tell me: - what (in terms of syntax, available functions, methods, objects) are the differences between 64-bit and 32-bit MATLAB? - is it possible to workaround su...

Another Ascend Pipeline Question>>>>>>>>>>>>.Sorry<<<<<<<<<<<<<<<<<
Well, here I am agin. I've found out that I have to wipe out the stuff that's on this router and start from scratch. What I need to do is "NINDY" this router. I found a web site with some info on this but it's vague at best and I haven't been able to make anything they say to do work. Does anyone know how to "NINDY" a Pipeline 85 or could you point me to a place online that I can go to learn how to do this? Thanks, TrOll In article <f801109bv1s2qmb5rdcuvindd0jjjoiu8o@4ax.com>, TrOll <Sawdust5555@aol.com> wrote: :Well, here I am agin. I&#...

ISDN compression question>>>>>>>>>>>>another FYI<<<<<<<<<
> > Also found out that Cisco 804s will work with STAC compression but it > > is not enabled by default. You have to add it into the config under > > > > Interface dialer1 > > compression stac > > > > to get it to work. I've been playing with my Pipelines and so far, > > they work with both STAC and STAC-9. > Interesting. I wonder why it's disabled by default? Maybe it's a reliability > risk. I would be interested to know if you have any problems with it, if you > try it. A few thoughts. Compression has...

pl. help me reg. STATCOM MODEL/ PROGRAMME USING MATLAB/SIMULINK FOR MY M.TECH. PROJECT WORK AS I AM WEAK IN MATLAB
undefined surya wrote: > > > undefined At t = 0 we were all weak in Matlab, but we got down and learned its strengths and weakness, writing our own code, learning from our mistakes, and as a last resort asking friends and guru's here for assistance, learning from their help makes us even stronger in Matlab, until come the day we know enough to help other learners. If you don't want to follow this tried and tested methodology, and by the lack of effort you have expended in constructing your letter I guess all you want is some mug to do your project for you, then perhaps yo...

suppressing << when using "matlab < file.m" from a unix shell
I have a file name file.m which has the following contents : A = 5 B = A * 5 C = 5 I get the following o/p when I run it at a unix shell prompt as : matlab -nodisplay -nosplash < file.m -bash-3.2$ matlab -nodisplay -nosplash < file.m < M A T L A B > Copyright 1984-2007 The MathWorks, Inc. Version 7.5.0.338 (R2007b) August 9, 2007 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. >&...

Using 32-bit sourcesafe with 64-bit MATLAB
Hi, I wonder if it is possible to use 32-bit Visual Sourcesafe with 64-bit MATLAB. (Maybe there is a trick or something.) If it is not, what do you recommend for source controlling? Thanks. "abdu " <abdullahe@gmail.com> wrote in message news:hnb54e$2co$1@fred.mathworks.com... > Hi, > > I wonder if it is possible to use 32-bit Visual Sourcesafe with 64-bit > MATLAB. (Maybe there is a trick or something.) > > If it is not, what do you recommend for source controlling? > > Thanks. Unfortunately, it's not possible: http://www....

Matlab m-files and simulink model files are not read
My problem is how can I open the m-files and simulink model There is no Graphical Icon Display for both m-files or simulink model files. Please help how to retrieve their icon display and also i donot see any display for MATLAB when I open MATLAB program only blank sheet MY OS is windows 7 Thanks "A" <dragonboy.ali@gmail.com> wrote in message news:if38v0$gev$1@fred.mathworks.com... > My problem is how can I open the m-files and simulink model The commands OPEN or EDIT will work for script or function files with the .m extension; OPEN or ...

How to solve "Memory out Error" or "Memory allocation Error" in MATLAB?? I am using, MATLAB 7.9.0(R2009b(64-bit
When I am running my MATLAB-Simulink Model,after sometimes it indicates that "Memory out Error" or "Memory allocation Error". How can I overcome these problems and run my model properly... On 3/13/2013 2:14 AM, chittaranjan pradhan wrote: > When I am running my MATLAB-Simulink Model,after sometimes it indicates >that "Memory out Error" or "Memory allocation Error". How can I overcome >these problems and run my model properly... > I think when you get "Memory out Error" then it most likely means you need to acquire more mem...

1<3>1:Martin Musatov1<3>2: file exchange and newsgroup access for the MATLAB and Si:-ulink Community
1<3>1:wrote:1<3>:2Google Web Alert for: "Martin Musatov" MATLAB Central - Newsreader - <http://www.google.com/url? sa=3DX&amp;q=3Dhttp://www.mathworks.co.uk/matlabcentral/newsreader/author/ 114183&amp;ct=3Dga&amp;cd=3De83kqpHtzNM&amp;usg=3DAFQjCNGlWJ54BqL4A_0fBfkLq= DnKQqGBug> Martin Musatov file exchange and newsgroup access for the MATLAB and Simulink user community. ---------------- =A0This as-it-happens Google Alert is brought to you by Google. Remove <http://www.google.com/alerts/remove? s=3DEAAAAKY2txhJOE5xaZxextUP2qE&amp;hl=3Den&...

1<3>1:Martin Musatov1<3>2: file exchange and newsgroup access for the MATLAB and Si:-ulink Community #2
http://MeAmI.org wrote:1<3>1:wrote:1<3>:2Google.com/ Web Alert for: "Martin Musatov" - MATLAB Central - Newsreader - <http://www.google.com/url? sa=3DX&amp;q=3Dhttp://www.mathworks.co.uk/matlabcentral/newsreader/author/ 114183&amp;ct=3Dga&amp;cd=3De83kqpHtzNM&amp;usg=3DAFQjCNGlWJ54BqL4A_0fBfkLq= DnKQqGBug> Martin Musatov file exchange and newsgroup access for the MATLAB and Simulink user community. ---------------- =A0This as-it-happens Google Alert is brought to you by Google. Remove <http://www.google.com/alerts/remove? s=3DEAAAAKY2txhJOE...

MATLAB discrete time simulation of simulink model (Control simulink simulation time from MATLAB)
I am trying to run a simulink model simulation in definite time steps from MATLAB so that I can extract data from simulink, do some caluclations and send these new data back to Simulink for further simulation from the point I left off. The process can be descirbed below: Note that total simulation time is 600 seconds. 1. Start simulation from MATLAB for 100 seconds and then pause the simulation 2. Extract all the data I need from simulink and bring into MATLAB, do some calculations to changes simulink model parameters and then pass this new calculated data back to simulink. 3. Continue the simulation where I left off (i.e. from 100 seconds) but this time in 15 second intervals, up to total simulation time end (repeating step 2 and 3 after every 15 seconds). Can someone please advise if they have done this before and what command structures they used. Thank you. True. You can "sim" to achieve this. Try "help sim" to learn details. Yi "High Voltage" <e8342lec@yahoo.com> wrote in message <gt61tq$657$1@fred.mathworks.com>... > I am trying to run a simulink model simulation in definite time steps from MATLAB so that I can extract data from simulink, do some caluclations and send these new data back to Simulink for further simulation from the point I left off. > > The process can be descirbed below: > > Note that total simulation time is 600 seconds. > > 1. Start simulation from MATLAB for 100 seconds and...

create 32 bit mex files from 64 bit matlab?
platform: osx, intel matlab: 7.9.0.529 (R2009b), 64-bit (maci64), August 12, 2009 I want to create .mexmaci files using mex, but it looks like I have no way to create them using the mex that ships with this version of matlab. Even if I use 'mex -arch maci ', it still only creates '.mexmaci64' files. Is there a simple way around this, or do I have to keep a 32 bit version of matlab around to create the '.mexmaci' files? Regards, Sriram Sriram Swaminarayan wrote, On 10/2/2009 7:49 AM: > platform: osx, intel > matlab: 7.9.0.529 (R2009b), 64-bit (maci64), Augus...

32 bit matlab on 64 bit machine, mex files
I have a 64 bit machine with an (older) 32 bit version of matlab installed on it. I am wondering if it is possible to execute 64-bit mex files (compiled on a 64-bit machine). It seems like this should be possible as the CPU has a 64 bit instruction set. If not, is there a way to interface with 64-bit code (e.g. compile it into a dll that the 32-bit mex function would call). "Nick" wrote in message <kj44v1$6f8$1@newscl01ah.mathworks.com>... > I have a 64 bit machine with an (older) 32 bit version of matlab installed on it. I am wondering if it is possible to execute 64...

>>>> FILE TAXES <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> http://web-for-you.cn/about/file-taxes <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ....

>>>> COMBINE FILES <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> http://web-for-you.cn/about/combine-files <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ....

>>>> GET EVEN <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> http://web-for-you.cn/about/get-even <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...

>>>> MAKE FILE <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> http://web-for-you.cn/about/make-file <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .....

>>>> USE COCAINE <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> http://web-for-you.cn/about/use-cocaine <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...

>>>> GET HORNY <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> http://web-for-you.cn/about/get-horny <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .....

>>>> USE ROUTER <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> http://web-for-you.cn/about/use-router <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ....

Web resources about - Simulink Coder / TMF question: how to get a <model>.bat file for x86 using 64 bit Matlab? - comp.soft-sys.matlab

Resources last updated: 2/26/2016 1:48:38 AM