Pages

Monday, August 1, 2011

外企工作邮件100句

1. I am writing to confirm /enquire/inform you...
我写信时要确认/询问/通知你。。。

2. I am writing to follow up on our earlier decision on the marketing campaign in Q2.
我写信来追踪我们之前对于第二季度营销活动的决定。

3. With reference to our telephone conversation today...
关于我们今天在电话中的谈话。。。

4. In my previous e-mail on October 5...
先前在10月5日所写的信。。。

5. As I mentioned earlier about...
如我先前所提及关于。。。

6. as indicated in my previous e-mail...
如我在先前的信中所提出。。。

7. As we discussed on the phone...
如我们上次在电话中的讨论。。。

8. from our decision at the previous meeting...
如我们在上次会议中的决定。。。

9. as you requested/per your requirement...
按照你的要求。。。

10.In reply to your e-mail dated April 1,we decided...
回答你在4月1日写的信,我们决定。。。

11.This is in response to your e-mail today.
这是针对你今天早上来信的回复。

12. As mentioned before, we deem this product has strong unique selling points in china.
如先前所述,我们认为这个产品在中国有强有力且独一无二的销售点。

13. As a follow-up to our phone conversation yesterday, I wanted to get back to you about the pending issues of our agreement.
追踪我们昨天在电话中所谈,我想答复你我们合约的一些待解决的议题。

14. I received your voice message regarding the subject. I’m wondering if you can elaborate i.e. provide more details.
我收到你关于这个主题的留言。我想你是否可以再详尽说明,也就是再提供多一点细节。

15. Please be advised/informed that...
请被告知。。。

16. Please note that...
请注意。。。

17. We would like to inform you that...
我们想要通知你。。。

18. I am convinced that...
我确信。。。

19. We agree with you on...
我们同意你在。。。

20. With effect from 4 Oct., 2008...
从2008年10月4日开始生效。。。

21. We will have a meeting scheduled as noted below...
我们将举行一个会议,时间表如下。

22. Be assured that individual statistics are not disclosed and this is for internal use only.
请确保个人信息不会外泄且只供内部使用。

23. I am delighted to tell you that...
我很高兴地告诉你。。。

24. We are pleased to learn that...
我们很高兴得知。。。

25. We wish to notify you that...
我们希望通知你。。。

26. Congratulation on your...
恭喜您关于。。。

27. I am fine with the proposal.
我对这份提桉没意见。

28.I am pleased to inform you that you have been accepted to join the workshop scheduled for 22-24 Nov,2008.
我很高兴地告诉你,你已经被同意参加2008年11月22-24日的研讨会。

29. We are sorry to inform you that...
我们很抱歉地通知你。。。

30. I’m afraid I have some bad news.
我恐怕要带来一些坏消息。

31. There are a number of issues with our new system.
我们的新系统有些问题。

32. Due to circumstances beyond our control...
由于情况超出我们所能控制。。。

33. I don’t feel too optimistic about...
我觉得不太乐观关于。。。

34. It would be difficult for us to accept...
我们很难接受。。。

35. Unfortunately I have to say that, since receiving your enquiries on the subject, our view has not changed.
很不幸地,我必须这么说,自从收到你关于这个主题的询问,我们的看法都没有改变。

36. We would be grateful if you could...
我们会很感激如果你可以。。。

37. I could appreciate it if you could...
我会很感激如果你可以。。。

38. Would you please send us…?
可否请你寄给我们…?

39. We need your help.
我们需要你的帮助。

40. We seek your assistance to cascade/reply this message to your staff.
我们请求你的帮助,将此信息传达给你们的员工。

41. We look forward to your clarification.
我们期待你的澄清。

42.Your prompt attention to this matter will be appreciated.
您能立即注意此事,我们将非常感激。

43. I would really appreciate meeting up if you can spare the time. Please let me know what suits you best.
如果您能抽出时间,我希望能与你见面,请让我知道您最适合的时间。

44.Please give us your preliminary thoughts about this.
请让我知道你对于这件事情初步的想法。

45. Would you please reply to this e-mail if you plan to attend?
请您回信如果您计划参加?

46.Please advise if you agree with this approach.
请告知是否你同意这个方法。

47. Could you please let me know the status of this project?
请让我知道这个计划的进度?

48. If possible, I hope to receive a copy of your proposal when it is finished.
如果可能,当你完成提桉,我希望能收到一份复本。

49. I would appreciate it very much if you would send me your reply by next Monday.
如果能在下周一前收到您的答复,我将非常感激。

50. Hope this is OK with you. If not, let me know by e-mail ASAP.
希望您对此没有问题,如果不行,请利用电子邮件尽快让我知道。

51. Could you please send me your replies to the above questions by the end of June?
请您在6月份前答复我上述问题好吗?

52. May I have your reply by April 1, if possible?
如果可能,我可否在4月1日前收到您的答复?

53. If you wish, we would be happy to...
如果你希望,我们很乐意。。。


54. Please let me know if there’s anything I can do to help.
请让我知道任何我可以帮得上忙的地方。

55.If there’s anything else I can do for you on/regarding this matter, please feel free to contact me at any time.
对于这件事,如果还有任何我能帮得上忙的地方,请不要客气,随时与我联络。

56.If you want additional recommendations on this, please let us know and we can try to see if this is possible.
如果关于此事你需要额外的建议,请让我们知道,我们会尝试看看是否可能。

57. I’m just writing to remind you of...
我只是写信来提醒您。。。

58. May we remind you that...?
我们想要提醒您。。。

59. I am enclosing...
我附上。。。

60. Please find enclosed...
请查阅附件。。。

61. Attached hereto...
附件是关于。。。

62. Attached please find the most up-to-date information on/regarding/concerning…
附上关于某某的最新资料…

63. Attached please find the draft product plan for your review and comment.
附上产品计划书的草稿,请审查及评价。

64. If you have any further questions, please feel free to contact me.
如果你有任何问题,请不要客气与我联络。

65. I hope my clarification has been helpful.
希望我的说明是有帮助的。

66. Please feel free to call me at any time, I will continually provide full support.
请随时跟我联络,我会持续地提供全程支援。

67. Please let me know if this is suitable.
请让我知道这是否恰当。

68. Looking forward to seeing you soon.
期待很快能见到你。

69. We look forward to hearing from you soon.
我们期待很快能得到您的回复。

70. Hope this is clear and we are happy to discuss this further if necessary.
希望上述说明很清楚,如有必要,我们很乐意再进一步讨论。

71. I look forward to receiving your reply soon.
我期待很快能收到你的回复。

72. Looking forward to receiving your comments in due course.
期待在预期的时间收到你的反馈。

73. I’ll keep you posted.
我会与你保持联络。

74. Please keep me informed on the matter.
请随时让我知道这件事的发展。

75. For any comments/suggestions, please contact Nadia at 2552-7482.
任何评价或建议,请打电话2552-7482联络Nadia。

76. I would like to apologize for...
我想就。。。道歉。。。

77. I apologize for the delay in...
对于。。。的耽搁,我深感抱歉。

78. We are sorry for any inconvenience caused.
对于产生任何不便,我们感到抱歉。

79. I am sorry for any inconvenience this has caused you.
对于造成你的任何不便,我感到抱歉。

80. I’m sorry about last time.
关于上次的事我很抱歉。

81.We apologize for not replying you earlier.
对于未能早一点回信给你,我们感到抱歉。

82. I’m really sorry about this.
关于这件事,我真的很抱歉。

83. Sorry, I’m late in replying to your e-mail dated Monday, April 1.
抱歉,太迟回您在4月1日(星期一)发给我的邮件。

84. We apologize for the delay and hope that it doesn’t inconvenience you too much.
我们为耽搁道歉,希望不会给您带来太多的不便。

85.Hoping that this will not cause you too much trouble.
希望不会为您带来太多的麻烦。

86.Sorry if my voice message is not clear enough.
如果我的电话留言不够清楚,我深感抱歉.

87. Thank you for your help.
谢谢你的帮助。

88. I appreciate very much that you...
我非常感激你。。。

89. I truly appreciate it.
我真的很感激。

90. Thank you for your participation.
谢谢你的参加。

91. Thank you so much for inviting me.
非常感谢你要请我。

92.Congratulations to all of you and thanks for your efforts.
恭喜各位并谢谢各位的努力。

93. Your understanding and cooperation is greatly/highly appreciated.
很感激你的理解及合作。

94. Your prompt response will be most appreciated.
很感激你快速的答复。

95. Once again, thank you all for your commitment and support.
再一次感谢你的承诺及支持。

96. Thanks for your input/clarification/message.
谢谢你的投入/澄清/信息。

97. Any comments will be much appreciated.
对于您的任何建议,我将非常感激。

98. Thank you very much for everything you’ve done for me.
谢谢你为我做的一切。

99. I would appreciate your kindest understanding with/regarding this matter.
我很感激你对这件事情的理解。

100. Please convey my thanks to all the staff involved, they certainly did an excellent job.
请表达我的谢意给那些有关的同仁,他们真的干得很好

Tuesday, July 5, 2011

Homepage

I have launched my homepage http://sites.google.com/site/kuiyuanyang/, you are welcome to visit it:)

Saturday, January 29, 2011

Monday, January 10, 2011

Several Topics Simultaneously


PPT->EPS

File->Print->Properties->Advanced, set Scaling to 50%, then print to file, change the *.prn to *.ps

Thursday, November 11, 2010

Debug C MEX S-Functions

You can use your C compiler to debug Simulink C MEX S-functions. This Technical Note describes how to debug S-functions using the following compilers:
Microsoft Visual C/C++ .NET compiler (version 7.0)
Microsoft Visual C/C++ compiler (version 6.0)
Watcom compiler (version 11.0)
UNIX compilers
All of these examples assume some knowledge of the compiler's debugging capabilities. Refer to your compiler documentation for further information on debugging files. The examples included in this Technical Note require sfundebug.mdl and timestwo.c.
Download these files and place them into a working directory.
Microsoft Visual C/C++ .NET
Open the Simulink model sfundebug.mdl.
To debug a MEX-file from within MATLAB, you must first compile the MEX-file with the -g option to the MEX function. The -g option builds the MEX-file with debugging symbols included. mex -g timestwo.cThis will create timestwo.mexw32. You should now simulate the model to make sure it executes properly.
Start the Microsoft Development Environment. Do not exit your MATLAB session.
From the Microsoft menu, select Tools -> Debug Process�
In the Process GUI that opens, select the MATLAB.exe process and click Attach
In the GUI that opens, select Native as the Type and click Ok. You should now be attached to the MATLAB process. You can now close the Process GUI if you wish.
Open the source files by selecting File -> Open->File� Set a breakpoint on the desired line of code by right-clicking on the line of code, and selecting Insert Breakpoint. If you have not run the model yet and the breakpoint shows up with a �?� in it, do not worry. The .mexw32 file will load when you run the model.
Start the simulation, and you should be running the S-function in the Microsoft Development Environment. For more information on the how to use the debugging features in the Microsoft environment, refer to the Microsoft Development Environment documentation.
Microsoft Visual C/C++ 6.0
Open the Simulink model sfundebug.mdl.
To debug a MEX-file from within MATLAB, you must first compile the MEX-file with the -g option to the MEX function. The -g option builds the MEX-file with debugging symbols included.mex -g timestwo.c
This will create timestwo.mexw32. You should now simulate the model to make sure it executes properly.
Exit your MATLAB session.
Open a DOS window (Start -> Programs -> Command Prompt), and change directories to the directory where your S-function and .mexw32 file are located. Then type:msdev timestwo.mexw32 This will start up the Microsoft Visual C/C++ compiler. This command will fail if msdev.exe is not on the system path. If you receive an error message when executing the msdev command, you will need to add the compiler directories to your system path. You should refer to the compiler documentation for more information on defining the system path for your compiler.
In the Microsoft environment, select Settings from the Project menu. In the dialog box that opens, select the Debug tab. In the edit box labeled Executable for debug session, enter the full path to where the MATLAB executable resides. For example, if you have MATLAB installed in a directory $MATLAB under Windows, you would enter $MATLAB\bin\win32\matlab.exe. The other edit boxes in this dialog box should remain empty.
Open the source files by selecting File -> Open. Set a breakpoint on the desired line of code by right-clicking with your mouse on the line of code, and selecting Insert/Remove Breakpoint.
From the Build menu, select Debug, and click Go. A dialog box will appear that warns you that the MATLAB executable (matlab.exe) does not have debugging information. This is expected, as we do not ship a debug version of MATLAB. Click OK to close this dialog box.
A new MATLAB session will start. You should be in the directory where your model and S-function are located. Open the model by typingsfundebug at the MATLAB prompt.
Start the simulation, and you should be running the S-function in the Microsoft Visual C/C++ environment. For more information on how to use the debugging features in the Microsoft environment, refer to the Microsoft Development Studio or Microsoft Visual Studio documentation.
Watcom 11.0
Open the Simulink model sfundebug.mdl.
To debug a MEX-file from within MATLAB, you must first compile the MEX-file with the -g option to the MEX function. The -g option builds the MEX-file with debugging symbols included. mex -g timestwo.c This will create timestwo.mexw32.
You should now simulate the model to make sure it executes properly.
Exit your MATLAB session.
Open up a DOS window (Start -> Programs -> Command Window), and type the following to open the Watcom compiler:Wdw This command will fail if Wdw.exe is not on the system path. If you receive an error message when executing the Wdw command, you will need to add the compiler directories to your system path. You should refer to the compiler documentation for more information on defining the system path for your compiler.
The Watcom Debugger starts and a New Program window opens. Type the full path to where MATLAB resides on your system in the Program Name field. For example:C:\matlab\bin\win32\matlab.exe Click OK to close this dialog box.
From the Break menu, select ON IMAGE LOAD and type the name of S-function in capital letters. For example:TIMESTWO Then select ADD and click OK. Note: You should only enter TIMESTWO. You do not need to enter the entire path to timestwo or timestwo.mexw32 .
From the RUN menu, click GO to start debugging your S-function.
When MATLAB starts, change directories to the location where you saved the model and the S-function. Note: MATLAB may start minimized.
Open the model and start the simulation.
Open the source file by double-clicking on timestwo in the MODULE window. This brings up the source code, timestwo.c, for setting breakpoints.
You should now be able to debug your S-function in the Watcom environment. For more information about how to debug in this environment, refer to the documentation for the Watcom compiler.
UNIX Compilers
Open the Simulink model sfundebug.mdl.
To debug a MEX-file from within MATLAB, you must first compile the MEX-file with the -g option to the MEX function. The -g option builds the MEX-file with debugging symbols included.mex -g timestwo.c You should now simulate the model to make sure it executes properly.
Exit your MATLAB session.
Start MATLAB with the debugger using the following command:matlab -D The -D flag starts MATLAB from within the debugger specified. For example, to use the dbx debugging tool on Solaris, you would enter the following command: matlab -Ddbx
Once the debugger has loaded, continue loading MATLAB by typing run at the debugger prompt.(dbx) run Running: matlab (process id 9375)
NOTE: If you are using MATLAB R12 or R12.1, use the following instead: (dbx) run -nojvm Running: matlab (process id 9375)
After MATLAB starts, enable debugging by typing the following at the MATLAB command prompt:dbmex on
Open the model and start the simulation. This will bring you into the debugger.
Set breakpoints in the source code:(dbx) stop in mdlOutputs
(2) stop in `timestwo.mexsol`timestwo.c`mdlOutputs
(dbx) file timestwo.c
Issue the cont command to continue.(dbx) cont
Once a breakpoint is hit, use the debugger routines to continue debugging the S-function.For more information about how to debug in this environment, refer to the documentation for the UNIX compiler.

Wednesday, September 15, 2010

VC2008中使用GSL

DOWNLOAD AND INSTALL GSL SOFTWARE

1.Download gsl-1.8.exe from http://sourceforge.net/project/showfiles.php?group_id=23617&package_id=19804
(contains binaries and .lib files)
2.Execute and finish the installation.

3.Download gsl-1.8-src.exe from http://sourceforge.net/project/showfiles.php?group_id=23617&package_id=19804
4.Execute and finish the installation.

INSTALL VISUAL C++ EXPRESS
If you have not installed Visual C++ 2005 express, use this link :
http://msdn.microsoft.com/vstudio/express/downloads/
select visual C++ express

BUILD GSL LIBRARIES FOR Visual studio
1. Launch Visual C++ Studio
2. Open project C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgsl.sln (assuming default path - replace if it is a different location)
3. Do a build all
4.Verify that after build is complete, new files are generated in subfolders in C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgsl

CONFIGURE PATH SETTINGS IN VISUAL C++ STUDIO
1.Launch Visual C++ studio
2.Select Tools->Options Menu
3.On the tree display in the Options dialog box, select branch for Projects and solutions->VC++ directories
4.On the right side of the dialog, select Executable files in the "show directories for" combo box and add the following paths:
C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgslcblas\Debug-DLL
C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgsl\Debug-DLL

5.In the "show directories for" combo box select "Include files" and add the following path:
C:\Program Files\GnuWin32\include

6.In the "show directories for" combo box select "Library files" and add the following paths:
C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgsl\Debug-DLL
C:\Program Files\GnuWin32\src\gsl\1.8\gsl-1.8\VC8\libgslcblas\Debug-DLL

HOW DO I USE GSL LIBRARY IN MY VC++ PROJECT?
1.Launch Visual studio
2.Open your VC++ project.
3.select menu Project -> properties
4.In the property pages dialog, select tree item "configration properties->Linker->Input
5.On the right hand side details, choose the field "Additional Dependencies" and append the following entries by clicking the ... button:
libgsl_dll_d.lib
libgslcblas_dll_d.lib


--------------------------------------------------
原文链接http://ixpress.spaces.live.com/blog/cns!8BCB40263F366272!683.entry
GSL是权威的免费科学计算库,翻译成中文就是非常牛叉的意思。经过大半上午的摸索,终于把他们之间的配合搞清楚了。下面开始方法介绍。
1. 下载最新版GSL
@ http://gnuwin32.sourceforge.net/packages/gsl.htm 最新的好像是1.9,不过这里只有1.8,估计1.9还在测试,不过无所谓。
需要下载的是前两个文件:Complete package, except sources和Sources。然后安装。

2. 配置VS和GSL
在VS的菜单tools->options->project and solutions->VC++ directiories里面设置include,bin,lib,sources的文件夹,分别对应gsl的安装目录。include就到gsl的 include就行了,不要到include/gsl下面
然后打开GSL的src文件夹,下面有个VC8文件夹,打开里面的libgsl.sln工程文件并编译(把四种库,debug release 静态 动态全编译了)。然后打开输出文件夹,把lib文件拷到gsl根目录的lib,把dll拷到system32

3. 写程序
工程向导win32 控制台程序。生成之后在工程配置里面找到C/C++ Generation下面的Runtime Libary,改成/MT或者/MTD。
链接gsl的库有两种,静态的和动态的
静态要加入libgsl.lib 和 libgslcblas.lib (release) 或者 libgsl_d.lib 和 libgslcblas_d.lib(debug)
动态dll要加入libgsl_dll.lib 和 libgslcblas_dll.lib (release) 或者 libgsl_dll_d.lib 和 libgslcblas_dll_d.lib(debug),此外还要写上#define GSL_DLL
加库可以这样
#pragma comment(lib,"libgsl.lib")
#pragma comment(lib, "libgslcblas.lib")
 

Locations of visitors to this page

Web Counters
Cheap Hotel Rates