level 3
使用NotebookEvaluate和EvaluationNotebook可以实现类似的效果。参考SE帖子《How to combine notebook into one cell》(编号50570),此方法的一个用例是《working with notebooks ('looping' a notebook and storing the results of each step in another notebook)》(编号66159)。
另,如果还没看过的话,强烈建议把精品区《别用For循环,它在Mathematica里又慢又不简洁,百害无一利!》那帖看看。
2025年09月20日 12点09分
