如何制作"^" MATLAB中的字符? [英] How do I make a "^" character in MATLAB?
问题描述
^
是MATLAB中的指数运算符.问题在于它在很多非英语键盘布局中都不存在,如果您在工作中经常使用它,则在HR和EN之间切换会很麻烦.
是否可以将其添加到MATLAB的工具栏(例如在Excel中,因此您可以通过鼠标或触摸板使用它),或者在MATLAB中定义自定义键(例如F12)来替换它?
我希望有一个非AHK解决方案,诸如此类.
创建工具栏快捷方式,为其命名,然后在回调中添加以下内容:
clipboard('copy','^')
运行此命令会将指数字符^
放置在剪贴板中.按下后,执行 Ctrl + V 粘贴.
您可以运用这个想法来创建一个片段片段库,可以从MATLAB的开始"菜单中访问该片段.
^
is the exponential operator in MATLAB. The problem with it is that it isn't present on a lot of non-english keyboard layouts, and if you use it a lot in your work, switching between HR and EN becomes troublesome.
Is there a way to add it to MATLAB's toolbar (like in Excel, so you can use it via mouse or touchpad), or to define a custom key (for example, F12) in MATLAB to replace it?
I'm hoping for a non AHK solution, and the like.
Create a toolbar shortcut, give it a name, and put the following in the callback:
clipboard('copy','^')
Running this will place the exponent character ^
in your clipboard. Once you press it, do a Ctrl+V to paste it.
You can apply this idea to create a clip library of snippets accessible from MATLAB's Start menu.
这篇关于如何制作"^" MATLAB中的字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!