Matlab Mobile on iPad with Smart Keyboard, how do I press "F9" to run a portion of highlighted code?

12 次查看(过去 30 天)
On a desktop I can press the F9 key and it will run a portion of code I have highlited in the editor. But on ipad, there is no row of function keys. I can press the "funtion key" (the key on the bottom left with the globe symbol) and "9" at the same time which should be "F9" but all it does it type "9" in the editor.
It's extremely frustrating when working on my script/function, i am forced to either run the entire code after making a small change, or be forced to copy and paste my new code every time into the command line to run.
Anyone know how to press "F9" on an ipad/almost any other mobile device? This seems like a critical feature and it boggles my mind that it might not exist.
  1 个评论
Constantino Carlos Reyes-Aldasoro
I am in a similar situation, on a computer I can go executing cells one by one with "Run Section" or "Run and Advance" but cannot find how to do this in an iPad. Any luck so far?

请先登录,再进行评论。

回答(1 个)

Constantino Carlos Reyes-Aldasoro
Hello
I found a work around, it is not the same but it may be useful. If you convert your file from a script (*.m) to a live script (*.mlx) when you open it in an iPad there is a button to execute the current cell. That would be the equivalent of run section in a normal script. There is no "run and advance", which would be useful. So instead of marking something and pressing F9, you can separate those lines between %% %% to create a cell and then run the section.
Hope this helps! And people from Mathworks take note to make the mobile versions more useful

类别

Help CenterFile Exchange 中查找有关 MATLAB Mobile 的更多信息

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by